@@ -1237,11 +1237,12 @@ class Transform extends SingleChildRenderObjectWidget {
12371237 /// If it is specified at the same time as the [origin] , both are applied.
12381238 ///
12391239 /// An [AlignmentDirectional.centerStart] value is the same as an [Alignment]
1240- /// whose [Alignment.x] value is `-1.0` if [textDirection] is
1241- /// [TextDirection.ltr] , and `1.0` if [textDirection] is [TextDirection.rtl] .
1242- /// Similarly [AlignmentDirectional.centerEnd] is the same as an [Alignment]
1243- /// whose [Alignment.x] value is `1.0` if [textDirection] is
1244- /// [TextDirection.ltr] , and `-1.0` if [textDirection] is [TextDirection.rtl] .
1240+ /// whose [Alignment.x] value is `-1.0` if [Directionality.of] returns
1241+ /// [TextDirection.ltr] , and `1.0` if [Directionality.of] returns
1242+ /// [TextDirection.rtl] . Similarly [AlignmentDirectional.centerEnd] is the
1243+ /// same as an [Alignment] whose [Alignment.x] value is `1.0` if
1244+ /// [Directionality.of] returns [TextDirection.ltr] , and `-1.0` if
1245+ /// [Directionality.of] returns [TextDirection.rtl] .
12451246 final AlignmentGeometry alignment;
12461247
12471248 /// Whether to apply the transformation when performing hit tests.
@@ -6085,12 +6086,12 @@ class MouseRegion extends StatefulWidget {
60856086 /// This means that a [MouseRegion.onExit] might not be matched by a
60866087 /// [MouseRegion.onEnter] .
60876088 ///
6088- /// This restriction aims to prevent a common misuse: if [setState] is called
6089- /// during [MouseRegion.onExit] without checking whether the widget is still
6090- /// mounted, an exception will occur. This is because the callback is
6089+ /// This restriction aims to prevent a common misuse: if [State. setState] is
6090+ /// called during [MouseRegion.onExit] without checking whether the widget is
6091+ /// still mounted, an exception will occur. This is because the callback is
60916092 /// triggered during the post-frame phase, at which point the widget has been
6092- /// unmounted. Since [setState] is exclusive to widgets, the restriction is
6093- /// specific to [MouseRegion] , and does not apply to its lower-level
6093+ /// unmounted. Since [State. setState] is exclusive to widgets, the restriction
6094+ /// is specific to [MouseRegion] , and does not apply to its lower-level
60946095 /// counterparts, [RenderMouseRegion] and [MouseTrackerAnnotation] .
60956096 ///
60966097 /// There are a few ways to mitigate this restriction:
@@ -6358,10 +6359,10 @@ class _RawMouseRegion extends SingleChildRenderObjectWidget {
63586359///
63596360/// [RepaintBoundary] is therefore used, both while propagating the
63606361/// `markNeedsPaint` flag up the render tree and while traversing down the
6361- /// render tree via [RenderObject .paintChild] , to strategically contain repaints
6362- /// to the render subtree that visually changed for performance. This is done
6363- /// because the [RepaintBoundary] widget creates a [RenderObject] that always
6364- /// has a [Layer] , decoupling ancestor render objects from the descendant
6362+ /// render tree via [PaintingContext .paintChild] , to strategically contain
6363+ /// repaints to the render subtree that visually changed for performance. This
6364+ /// is done because the [RepaintBoundary] widget creates a [RenderObject] that
6365+ /// always has a [Layer] , decoupling ancestor render objects from the descendant
63656366/// render objects.
63666367///
63676368/// [RepaintBoundary] has the further side-effect of possibly hinting to the
@@ -7168,7 +7169,7 @@ class Builder extends StatelessWidget {
71687169
71697170/// Signature for the builder callback used by [StatefulBuilder] .
71707171///
7171- /// Call [ setState] to schedule the [StatefulBuilder] to rebuild.
7172+ /// Call ` setState` to schedule the [StatefulBuilder] to rebuild.
71727173typedef StatefulWidgetBuilder = Widget Function (BuildContext context, StateSetter setState);
71737174
71747175/// A platonic widget that both has state and calls a closure to obtain its child widget.
0 commit comments