diff --git a/packages/flutter/lib/src/cupertino/switch.dart b/packages/flutter/lib/src/cupertino/switch.dart index cb6a42c2d3..e02a191599 100644 --- a/packages/flutter/lib/src/cupertino/switch.dart +++ b/packages/flutter/lib/src/cupertino/switch.dart @@ -117,7 +117,9 @@ class CupertinoSwitch extends StatefulWidget { /// /// See also: /// - /// * [DragGestureRecognizer.dragStartBehavior], which gives an example for the different behaviors. + /// * [DragGestureRecognizer.dragStartBehavior], which gives an example for + /// the different behaviors. + /// /// {@endtemplate} final DragStartBehavior dragStartBehavior; diff --git a/packages/flutter/lib/src/material/drawer.dart b/packages/flutter/lib/src/material/drawer.dart index 164554dea7..ab052c7dab 100644 --- a/packages/flutter/lib/src/material/drawer.dart +++ b/packages/flutter/lib/src/material/drawer.dart @@ -217,7 +217,9 @@ class DrawerController extends StatefulWidget { /// /// See also: /// - /// * [DragGestureRecognizer.dragStartBehavior], which gives an example for the different behaviors. + /// * [DragGestureRecognizer.dragStartBehavior], which gives an example for + /// the different behaviors. + /// /// {@endtemplate} final DragStartBehavior dragStartBehavior; diff --git a/packages/flutter/lib/src/material/slider_theme.dart b/packages/flutter/lib/src/material/slider_theme.dart index 73357da630..ea320a4f45 100644 --- a/packages/flutter/lib/src/material/slider_theme.dart +++ b/packages/flutter/lib/src/material/slider_theme.dart @@ -753,7 +753,7 @@ abstract class SliderTickMarkShape { /// See also: /// /// * [SliderThemeData.tickMarkShape], which is the shape that the [Slider] - /// uses when painting tick marks. + /// uses when painting tick marks. static final SliderTickMarkShape noTickMark = _EmptySliderTickMarkShape(); } @@ -860,7 +860,7 @@ abstract class SliderComponentShape { /// See also: /// /// * [SliderThemeData.thumbShape], which is the shape that the [Slider] - /// uses when painting the thumb. + /// uses when painting the thumb. static final SliderComponentShape noThumb = _EmptySliderComponentShape(); /// Special instance of [SliderComponentShape] to skip the overlay drawing. @@ -868,7 +868,7 @@ abstract class SliderComponentShape { /// See also: /// /// * [SliderThemeData.overlayShape], which is the shape that the [Slider] - /// uses when painting the overlay. + /// uses when painting the overlay. static final SliderComponentShape noOverlay = _EmptySliderComponentShape(); } @@ -908,9 +908,9 @@ class _EmptySliderComponentShape extends SliderComponentShape { /// See also: /// /// * [RectangularSliderTrackShape], which is a track shape with sharp -/// rectangular edges +/// rectangular edges /// * [RoundedRectSliderTrackShape], which is a track shape with round -/// stadium-like edges. +/// stadium-like edges. /// /// The height is set from [SliderThemeData.trackHeight] and the width of the /// parent box less the larger of the widths of [SliderThemeData.thumbShape] and diff --git a/packages/flutter/lib/src/services/platform_channel.dart b/packages/flutter/lib/src/services/platform_channel.dart index 3c9c1625cb..80e233b0ac 100644 --- a/packages/flutter/lib/src/services/platform_channel.dart +++ b/packages/flutter/lib/src/services/platform_channel.dart @@ -462,9 +462,9 @@ class EventChannel { /// Returns a broadcast [Stream] which emits events to listeners as follows: /// /// * a decoded data event (possibly null) for each successful event - /// received from the platform plugin; + /// received from the platform plugin; /// * an error event containing a [PlatformException] for each error event - /// received from the platform plugin. + /// received from the platform plugin. /// /// Errors occurring during stream activation or deactivation are reported /// through the [FlutterError] facility. Stream activation happens only when diff --git a/packages/flutter/lib/src/widgets/app.dart b/packages/flutter/lib/src/widgets/app.dart index a3b27cbfa7..41b7579a4a 100644 --- a/packages/flutter/lib/src/widgets/app.dart +++ b/packages/flutter/lib/src/widgets/app.dart @@ -374,6 +374,7 @@ class WidgetsApp extends StatefulWidget { /// * [Navigator.initialRoute], which is used to implement this property. /// * [Navigator.push], for pushing additional routes. /// * [Navigator.pop], for removing a route from the stack. + /// /// {@endtemplate} final String initialRoute; diff --git a/packages/flutter/lib/src/widgets/editable_text.dart b/packages/flutter/lib/src/widgets/editable_text.dart index add03f929d..ec31f2f5b6 100644 --- a/packages/flutter/lib/src/widgets/editable_text.dart +++ b/packages/flutter/lib/src/widgets/editable_text.dart @@ -422,6 +422,7 @@ class EditableText extends StatefulWidget { /// See also: /// /// * {@macro flutter.gestures.monodrag.dragStartExample} + /// /// {@endtemplate} final TextDirection textDirection; @@ -437,6 +438,7 @@ class EditableText extends StatefulWidget { /// See also: /// /// * [TextCapitalization], for a description of each capitalization behavior. + /// /// {@endtemplate} final TextCapitalization textCapitalization; diff --git a/packages/flutter/lib/src/widgets/framework.dart b/packages/flutter/lib/src/widgets/framework.dart index fa6da5abdc..bb1a0abede 100644 --- a/packages/flutter/lib/src/widgets/framework.dart +++ b/packages/flutter/lib/src/widgets/framework.dart @@ -998,6 +998,7 @@ abstract class State extends Diagnosticable { /// to the new one if the updated widget configuration requires /// replacing the object. /// * In [dispose], unsubscribe from the object. + /// /// {@endtemplate} /// /// You cannot use [BuildContext.inheritFromWidgetOfExactType] from this diff --git a/packages/flutter/lib/src/widgets/scrollable.dart b/packages/flutter/lib/src/widgets/scrollable.dart index f75d0c5b63..1dc91e99a0 100644 --- a/packages/flutter/lib/src/widgets/scrollable.dart +++ b/packages/flutter/lib/src/widgets/scrollable.dart @@ -199,7 +199,9 @@ class Scrollable extends StatefulWidget { /// /// See also: /// - /// * [DragGestureRecognizer.dragStartBehavior], which gives an example for the different behaviors. + /// * [DragGestureRecognizer.dragStartBehavior], which gives an example for + /// the different behaviors. + /// /// {@endtemplate} final DragStartBehavior dragStartBehavior; diff --git a/packages/flutter_test/lib/src/widget_tester.dart b/packages/flutter_test/lib/src/widget_tester.dart index 085ab362d6..45142cf533 100644 --- a/packages/flutter_test/lib/src/widget_tester.dart +++ b/packages/flutter_test/lib/src/widget_tester.dart @@ -72,7 +72,7 @@ typedef WidgetTesterCallback = Future Function(WidgetTester widgetTester); /// See also: /// /// * [AutomatedTestWidgetsFlutterBinding.addTime] to learn more about -/// timeout and how to manually increase timeouts. +/// timeout and how to manually increase timeouts. /// /// ## Sample code ///