Commit abaf2901 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Further improve the docs for box_painter. (#9936)

parent d9165f96
...@@ -838,6 +838,12 @@ class LinearGradient extends Gradient { ...@@ -838,6 +838,12 @@ class LinearGradient extends Gradient {
/// How this gradient should tile the plane beyond in the region before /// How this gradient should tile the plane beyond in the region before
/// [begin] and after [end]. /// [begin] and after [end].
///
/// For details, see [TileMode].
///
/// ![](https://flutter.github.io/assets-for-api-docs/dart-ui/tile_mode_clamp_linear.png)
/// ![](https://flutter.github.io/assets-for-api-docs/dart-ui/tile_mode_mirror_linear.png)
/// ![](https://flutter.github.io/assets-for-api-docs/dart-ui/tile_mode_repeated_linear.png)
final TileMode tileMode; final TileMode tileMode;
@override @override
...@@ -1053,6 +1059,12 @@ class RadialGradient extends Gradient { ...@@ -1053,6 +1059,12 @@ class RadialGradient extends Gradient {
/// How this gradient should tile the plane beyond the outer ring at [radius] /// How this gradient should tile the plane beyond the outer ring at [radius]
/// pixels from the [center]. /// pixels from the [center].
///
/// For details, see [TileMode].
///
/// ![](https://flutter.github.io/assets-for-api-docs/dart-ui/tile_mode_clamp_radial.png)
/// ![](https://flutter.github.io/assets-for-api-docs/dart-ui/tile_mode_mirror_radial.png)
/// ![](https://flutter.github.io/assets-for-api-docs/dart-ui/tile_mode_repeated_radial.png)
final TileMode tileMode; final TileMode tileMode;
@override @override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment