normalize setter format (#8708)
diff --git a/examples/flutter_gallery/lib/demo/animation/home.dart b/examples/flutter_gallery/lib/demo/animation/home.dart index 25b0919..81bd0dc 100644 --- a/examples/flutter_gallery/lib/demo/animation/home.dart +++ b/examples/flutter_gallery/lib/demo/animation/home.dart
@@ -41,7 +41,7 @@ // The height of the status bar double get maxHeight => _maxHeight; double _maxHeight; - set maxHeight (double value) { + set maxHeight(double value) { assert(maxHeight != null && maxHeight >= 0.0); if (_maxHeight == value) return; @@ -53,7 +53,7 @@ // offset changes. double get scrollFactor => _scrollFactor; double _scrollFactor; - set scrollFactor (double value) { + set scrollFactor(double value) { assert(scrollFactor != null && scrollFactor >= 1.0); if (_scrollFactor == value) return;
diff --git a/examples/layers/rendering/src/sector_layout.dart b/examples/layers/rendering/src/sector_layout.dart index db7903f..22811f7 100644 --- a/examples/layers/rendering/src/sector_layout.dart +++ b/examples/layers/rendering/src/sector_layout.dart
@@ -148,7 +148,7 @@ BoxDecoration _decoration; BoxDecoration get decoration => _decoration; - set decoration (BoxDecoration value) { + set decoration(BoxDecoration value) { if (value == _decoration) return; _decoration = value;
diff --git a/packages/flutter/lib/src/material/switch.dart b/packages/flutter/lib/src/material/switch.dart index a4e8559..0158542 100644 --- a/packages/flutter/lib/src/material/switch.dart +++ b/packages/flutter/lib/src/material/switch.dart
@@ -270,7 +270,7 @@ ImageConfiguration get configuration => _configuration; ImageConfiguration _configuration; - set configuration (ImageConfiguration value) { + set configuration(ImageConfiguration value) { assert(value != null); if (value == _configuration) return;
diff --git a/packages/flutter/lib/src/rendering/block.dart b/packages/flutter/lib/src/rendering/block.dart index 3c61943..b3cfbc0 100644 --- a/packages/flutter/lib/src/rendering/block.dart +++ b/packages/flutter/lib/src/rendering/block.dart
@@ -43,7 +43,7 @@ /// The direction to use as the main axis. Axis get mainAxis => _mainAxis; Axis _mainAxis; - set mainAxis (Axis value) { + set mainAxis(Axis value) { if (_mainAxis != value) { _mainAxis = value; markNeedsLayout();
diff --git a/packages/flutter/lib/src/rendering/custom_layout.dart b/packages/flutter/lib/src/rendering/custom_layout.dart index 749343f..9b1df93 100644 --- a/packages/flutter/lib/src/rendering/custom_layout.dart +++ b/packages/flutter/lib/src/rendering/custom_layout.dart
@@ -282,7 +282,7 @@ /// The delegate that controls the layout of the children. MultiChildLayoutDelegate get delegate => _delegate; MultiChildLayoutDelegate _delegate; - set delegate (MultiChildLayoutDelegate value) { + set delegate(MultiChildLayoutDelegate value) { assert(value != null); if (_delegate == value) return;
diff --git a/packages/flutter/lib/src/rendering/flex.dart b/packages/flutter/lib/src/rendering/flex.dart index d2ff88d..5285374 100644 --- a/packages/flutter/lib/src/rendering/flex.dart +++ b/packages/flutter/lib/src/rendering/flex.dart
@@ -167,7 +167,7 @@ /// The direction to use as the main axis. Axis get direction => _direction; Axis _direction; - set direction (Axis value) { + set direction(Axis value) { if (_direction != value) { _direction = value; markNeedsLayout(); @@ -177,7 +177,7 @@ /// How the children should be placed along the main axis. MainAxisAlignment get mainAxisAlignment => _mainAxisAlignment; MainAxisAlignment _mainAxisAlignment; - set mainAxisAlignment (MainAxisAlignment value) { + set mainAxisAlignment(MainAxisAlignment value) { assert(value != null); if (_mainAxisAlignment != value) { _mainAxisAlignment = value; @@ -197,7 +197,7 @@ /// value irrelevant to the final layout. MainAxisSize get mainAxisSize => _mainAxisSize; MainAxisSize _mainAxisSize; - set mainAxisSize (MainAxisSize value) { + set mainAxisSize(MainAxisSize value) { if (_mainAxisSize != value) { _mainAxisSize = value; markNeedsLayout(); @@ -207,7 +207,7 @@ /// How the children should be placed along the cross axis. CrossAxisAlignment get crossAxisAlignment => _crossAxisAlignment; CrossAxisAlignment _crossAxisAlignment; - set crossAxisAlignment (CrossAxisAlignment value) { + set crossAxisAlignment(CrossAxisAlignment value) { if (_crossAxisAlignment != value) { _crossAxisAlignment = value; markNeedsLayout(); @@ -217,7 +217,7 @@ /// If aligning items according to their baseline, which baseline to use. TextBaseline get textBaseline => _textBaseline; TextBaseline _textBaseline; - set textBaseline (TextBaseline value) { + set textBaseline(TextBaseline value) { if (_textBaseline != value) { _textBaseline = value; markNeedsLayout();
diff --git a/packages/flutter/lib/src/rendering/flow.dart b/packages/flutter/lib/src/rendering/flow.dart index 518fdff..21b77dc 100644 --- a/packages/flutter/lib/src/rendering/flow.dart +++ b/packages/flutter/lib/src/rendering/flow.dart
@@ -203,7 +203,7 @@ /// [FlowDelegate.shouldRelayout] and [FlowDelegate.shouldRepaint] functions /// to determine whether the new delegate requires this object to update its /// layout or painting. - set delegate (FlowDelegate newDelegate) { + set delegate(FlowDelegate newDelegate) { assert(newDelegate != null); if (_delegate == newDelegate) return;
diff --git a/packages/flutter/lib/src/rendering/image.dart b/packages/flutter/lib/src/rendering/image.dart index 41ef791..e475861 100644 --- a/packages/flutter/lib/src/rendering/image.dart +++ b/packages/flutter/lib/src/rendering/image.dart
@@ -45,7 +45,7 @@ /// The image to display. ui.Image get image => _image; ui.Image _image; - set image (ui.Image value) { + set image(ui.Image value) { if (value == _image) return; _image = value; @@ -60,7 +60,7 @@ /// aspect ratio. double get width => _width; double _width; - set width (double value) { + set width(double value) { if (value == _width) return; _width = value; @@ -73,7 +73,7 @@ /// aspect ratio. double get height => _height; double _height; - set height (double value) { + set height(double value) { if (value == _height) return; _height = value; @@ -85,7 +85,7 @@ /// Used when determining the best display size for the image. double get scale => _scale; double _scale; - set scale (double value) { + set scale(double value) { assert(value != null); if (value == _scale) return; @@ -106,7 +106,7 @@ /// If non-null, apply this color filter to the image before painting. Color get color => _color; Color _color; - set color (Color value) { + set color(Color value) { if (value == _color) return; _color = value; @@ -120,7 +120,7 @@ /// [paintImage]. ImageFit get fit => _fit; ImageFit _fit; - set fit (ImageFit value) { + set fit(ImageFit value) { if (value == _fit) return; _fit = value; @@ -130,7 +130,7 @@ /// How to align the image within its bounds. FractionalOffset get alignment => _alignment; FractionalOffset _alignment; - set alignment (FractionalOffset value) { + set alignment(FractionalOffset value) { if (value == _alignment) return; _alignment = value; @@ -140,7 +140,7 @@ /// How to repeat this image if it doesn't fill its layout bounds. ImageRepeat get repeat => _repeat; ImageRepeat _repeat; - set repeat (ImageRepeat value) { + set repeat(ImageRepeat value) { if (value == _repeat) return; _repeat = value; @@ -156,7 +156,7 @@ /// the center slice will be stretched only vertically. Rect get centerSlice => _centerSlice; Rect _centerSlice; - set centerSlice (Rect value) { + set centerSlice(Rect value) { if (value == _centerSlice) return; _centerSlice = value;
diff --git a/packages/flutter/lib/src/rendering/object.dart b/packages/flutter/lib/src/rendering/object.dart index 9587022..5e2a22d 100644 --- a/packages/flutter/lib/src/rendering/object.dart +++ b/packages/flutter/lib/src/rendering/object.dart
@@ -2520,7 +2520,7 @@ ChildType _child; /// The render object's unique child ChildType get child => _child; - set child (ChildType value) { + set child(ChildType value) { if (_child != null) dropChild(_child); _child = value;
diff --git a/packages/flutter/lib/src/rendering/performance_overlay.dart b/packages/flutter/lib/src/rendering/performance_overlay.dart index 4bbcb19..aa2be44 100644 --- a/packages/flutter/lib/src/rendering/performance_overlay.dart +++ b/packages/flutter/lib/src/rendering/performance_overlay.dart
@@ -90,7 +90,7 @@ /// is suitable for capturing an SkPicture trace for further analysis. int get rasterizerThreshold => _rasterizerThreshold; int _rasterizerThreshold; - set rasterizerThreshold (int value) { + set rasterizerThreshold(int value) { assert(value != null); if (value == _rasterizerThreshold) return; @@ -101,7 +101,7 @@ /// Whether the raster cache should checkerboard cached entries. bool get checkerboardRasterCacheImages => _checkerboardRasterCacheImages; bool _checkerboardRasterCacheImages; - set checkerboardRasterCacheImages (bool value) { + set checkerboardRasterCacheImages(bool value) { assert(value != null); if (value == _checkerboardRasterCacheImages) return;
diff --git a/packages/flutter/lib/src/rendering/proxy_box.dart b/packages/flutter/lib/src/rendering/proxy_box.dart index ffbb5f8..b1c358d 100644 --- a/packages/flutter/lib/src/rendering/proxy_box.dart +++ b/packages/flutter/lib/src/rendering/proxy_box.dart
@@ -206,7 +206,7 @@ /// Additional constraints to apply to [child] during layout BoxConstraints get additionalConstraints => _additionalConstraints; BoxConstraints _additionalConstraints; - set additionalConstraints (BoxConstraints value) { + set additionalConstraints(BoxConstraints value) { assert(value != null); assert(value.debugAssertIsValid()); if (_additionalConstraints == value) @@ -306,7 +306,7 @@ /// The value to use for maxWidth if the incoming maxWidth constraint is infinite. double get maxWidth => _maxWidth; double _maxWidth; - set maxWidth (double value) { + set maxWidth(double value) { assert(value != null && value >= 0.0); if (_maxWidth == value) return; @@ -317,7 +317,7 @@ /// The value to use for maxHeight if the incoming maxHeight constraint is infinite. double get maxHeight => _maxHeight; double _maxHeight; - set maxHeight (double value) { + set maxHeight(double value) { assert(value != null && value >= 0.0); if (_maxHeight == value) return; @@ -399,7 +399,7 @@ /// a 16:9 width:height aspect ratio would have a value of 16.0/9.0. double get aspectRatio => _aspectRatio; double _aspectRatio; - set aspectRatio (double value) { + set aspectRatio(double value) { assert(value != null); assert(value > 0.0); assert(value.isFinite); @@ -721,7 +721,7 @@ /// expensive. double get opacity => _opacity; double _opacity; - set opacity (double value) { + set opacity(double value) { assert(value != null); assert(value >= 0.0 && value <= 1.0); if (_opacity == value) @@ -792,7 +792,7 @@ // repaints when the ShaderCallback changes identity. ShaderCallback get shaderCallback => _shaderCallback; ShaderCallback _shaderCallback; - set shaderCallback (ShaderCallback value) { + set shaderCallback(ShaderCallback value) { assert(value != null); if (_shaderCallback == value) return; @@ -806,7 +806,7 @@ /// to the child. Other blend modes can be used to create other effects. BlendMode get blendMode => _blendMode; BlendMode _blendMode; - set blendMode (BlendMode value) { + set blendMode(BlendMode value) { assert(value != null); if (_blendMode == value) return; @@ -846,7 +846,7 @@ /// blur effect ui.ImageFilter get filter => _filter; ui.ImageFilter _filter; - set filter (ui.ImageFilter value) { + set filter(ui.ImageFilter value) { assert(value != null); if (_filter == value) return; @@ -937,7 +937,7 @@ /// If non-null, determines which clip to use on the child. CustomClipper<T> get clipper => _clipper; CustomClipper<T> _clipper; - set clipper (CustomClipper<T> newClipper) { + set clipper(CustomClipper<T> newClipper) { if (_clipper == newClipper) return; final CustomClipper<T> oldClipper = _clipper; @@ -1059,7 +1059,7 @@ /// This value is ignored if [clipper] is non-null. BorderRadius get borderRadius => _borderRadius; BorderRadius _borderRadius; - set borderRadius (BorderRadius value) { + set borderRadius(BorderRadius value) { assert(value != null); if (_borderRadius == value) return; @@ -1216,7 +1216,7 @@ /// The shape of the layer. BoxShape get shape => _shape; BoxShape _shape; - set shape (BoxShape value) { + set shape(BoxShape value) { assert(value != null); if (_shape == value) return; @@ -1230,7 +1230,7 @@ /// exceed width/height. BorderRadius get borderRadius => _borderRadius; BorderRadius _borderRadius; - set borderRadius (BorderRadius value) { + set borderRadius(BorderRadius value) { assert(value != null); if (_borderRadius == value) return; @@ -1241,7 +1241,7 @@ /// The z-coordinate at which to place this material. int get elevation => _elevation; int _elevation; - set elevation (int value) { + set elevation(int value) { assert(value != null); if (_elevation == value) return; @@ -1252,7 +1252,7 @@ /// The background color. Color get color => _color; Color _color; - set color (Color value) { + set color(Color value) { assert(value != null); if (_color == value) return; @@ -1329,7 +1329,7 @@ /// Commonly a [BoxDecoration]. Decoration get decoration => _decoration; Decoration _decoration; - set decoration (Decoration value) { + set decoration(Decoration value) { assert(value != null); if (value == _decoration) return; @@ -1342,7 +1342,7 @@ /// Whether to paint the box decoration behind or in front of the child. DecorationPosition get position => _position; DecorationPosition _position; - set position (DecorationPosition value) { + set position(DecorationPosition value) { assert(value != null); if (value == _position) return; @@ -1355,7 +1355,7 @@ /// [BoxPainter.paint]. ImageConfiguration get configuration => _configuration; ImageConfiguration _configuration; - set configuration (ImageConfiguration value) { + set configuration(ImageConfiguration value) { assert(value != null); if (value == _configuration) return; @@ -1449,7 +1449,7 @@ /// translation. This property is provided just for convenience. Offset get origin => _origin; Offset _origin; - set origin (Offset value) { + set origin(Offset value) { if (_origin == value) return; _origin = value; @@ -1462,7 +1462,7 @@ /// If it is specified at the same time as an offset, both are applied. FractionalOffset get alignment => _alignment; FractionalOffset _alignment; - set alignment (FractionalOffset value) { + set alignment(FractionalOffset value) { assert(value == null || (value.dx != null && value.dy != null)); if (_alignment == value) return; @@ -1607,7 +1607,7 @@ /// How to inscribe the child into the space allocated during layout. ImageFit get fit => _fit; ImageFit _fit; - set fit (ImageFit value) { + set fit(ImageFit value) { assert(value != null); if (_fit == value) return; @@ -1623,7 +1623,7 @@ /// of the right edge of its parent's bounds. FractionalOffset get alignment => _alignment; FractionalOffset _alignment; - set alignment (FractionalOffset value) { + set alignment(FractionalOffset value) { assert(value != null && value.dx != null && value.dy != null); if (_alignment == value) return; @@ -1744,7 +1744,7 @@ /// The translation to apply to the child, as a multiple of the size. FractionalOffset get translation => _translation; FractionalOffset _translation; - set translation (FractionalOffset value) { + set translation(FractionalOffset value) { assert(value == null || (value.dx != null && value.dy != null)); if (_translation == value) return; @@ -1947,7 +1947,7 @@ /// delegate will be called. /// /// If the new value is null, then there is no background custom painter. - set painter (CustomPainter value) { + set painter(CustomPainter value) { if (_painter == value) return; final CustomPainter oldPainter = _painter; @@ -1972,7 +1972,7 @@ /// delegate will be called. /// /// If the new value is null, then there is no foreground custom painter. - set foregroundPainter (CustomPainter value) { + set foregroundPainter(CustomPainter value) { if (_foregroundPainter == value) return; final CustomPainter oldPainter = _foregroundPainter; @@ -2004,7 +2004,7 @@ /// instead. Size get preferredSize => _preferredSize; Size _preferredSize; - set preferredSize (Size value) { + set preferredSize(Size value) { assert(value != null); if (preferredSize == value) return;
diff --git a/packages/flutter/lib/src/rendering/semantics.dart b/packages/flutter/lib/src/rendering/semantics.dart index 7e9d709..14850a6 100644 --- a/packages/flutter/lib/src/rendering/semantics.dart +++ b/packages/flutter/lib/src/rendering/semantics.dart
@@ -184,7 +184,7 @@ /// parent). Matrix4 get transform => _transform; Matrix4 _transform; - set transform (Matrix4 value) { + set transform(Matrix4 value) { if (!MatrixUtils.matrixEquals(_transform, value)) { _transform = value; _markDirty(); @@ -194,7 +194,7 @@ /// The bounding box for this node in its coordinate system. Rect get rect => _rect; Rect _rect = Rect.zero; - set rect (Rect value) { + set rect(Rect value) { assert(value != null); if (_rect != value) { _rect = value;
diff --git a/packages/flutter/lib/src/rendering/shifted_box.dart b/packages/flutter/lib/src/rendering/shifted_box.dart index 299e8e8..7e0387f 100644 --- a/packages/flutter/lib/src/rendering/shifted_box.dart +++ b/packages/flutter/lib/src/rendering/shifted_box.dart
@@ -103,7 +103,7 @@ /// The amount to pad the child in each dimension. EdgeInsets get padding => _padding; EdgeInsets _padding; - set padding (EdgeInsets value) { + set padding(EdgeInsets value) { assert(value != null); assert(value.isNonNegative); if (_padding == value) @@ -212,7 +212,7 @@ /// Sets the alignment to a new value, and triggers a layout update. /// /// The new alignment must not be null or have any null properties. - set alignment (FractionalOffset value) { + set alignment(FractionalOffset value) { assert(value != null && value.dx != null && value.dy != null); if (_alignment == value) return; @@ -273,7 +273,7 @@ /// Can be both greater and less than 1.0 but must be positive. double get widthFactor => _widthFactor; double _widthFactor; - set widthFactor (double value) { + set widthFactor(double value) { assert(value == null || value >= 0.0); if (_widthFactor == value) return; @@ -286,7 +286,7 @@ /// Can be both greater and less than 1.0 but must be positive. double get heightFactor => _heightFactor; double _heightFactor; - set heightFactor (double value) { + set heightFactor(double value) { assert(value == null || value >= 0.0); if (_heightFactor == value) return; @@ -416,7 +416,7 @@ /// default) to use the constraint from the parent instead. double get minWidth => _minWidth; double _minWidth; - set minWidth (double value) { + set minWidth(double value) { if (_minWidth == value) return; _minWidth = value; @@ -427,7 +427,7 @@ /// default) to use the constraint from the parent instead. double get maxWidth => _maxWidth; double _maxWidth; - set maxWidth (double value) { + set maxWidth(double value) { if (_maxWidth == value) return; _maxWidth = value; @@ -438,7 +438,7 @@ /// default) to use the constraint from the parent instead. double get minHeight => _minHeight; double _minHeight; - set minHeight (double value) { + set minHeight(double value) { if (_minHeight == value) return; _minHeight = value; @@ -449,7 +449,7 @@ /// default) to use the constraint from the parent instead. double get maxHeight => _maxHeight; double _maxHeight; - set maxHeight (double value) { + set maxHeight(double value) { if (_maxHeight == value) return; _maxHeight = value; @@ -509,7 +509,7 @@ /// The size this render box should attempt to be. Size get requestedSize => _requestedSize; Size _requestedSize; - set requestedSize (Size value) { + set requestedSize(Size value) { assert(value != null); if (_requestedSize == value) return; @@ -587,7 +587,7 @@ /// given the incoming width constraints. double get widthFactor => _widthFactor; double _widthFactor; - set widthFactor (double value) { + set widthFactor(double value) { assert(value == null || value >= 0.0); if (_widthFactor == value) return; @@ -602,7 +602,7 @@ /// given the incoming width constraints. double get heightFactor => _heightFactor; double _heightFactor; - set heightFactor (double value) { + set heightFactor(double value) { assert(value == null || value >= 0.0); if (_heightFactor == value) return; @@ -800,7 +800,7 @@ /// A delegate that controls this object's layout. SingleChildLayoutDelegate get delegate => _delegate; SingleChildLayoutDelegate _delegate; - set delegate (SingleChildLayoutDelegate newDelegate) { + set delegate(SingleChildLayoutDelegate newDelegate) { assert(newDelegate != null); if (_delegate == newDelegate) return; @@ -914,7 +914,7 @@ /// the child's baseline. double get baseline => _baseline; double _baseline; - set baseline (double value) { + set baseline(double value) { assert(value != null); if (_baseline == value) return; @@ -925,7 +925,7 @@ /// The type of baseline to use for positioning the child. TextBaseline get baselineType => _baselineType; TextBaseline _baselineType; - set baselineType (TextBaseline value) { + set baselineType(TextBaseline value) { assert(value != null); if (_baselineType == value) return;
diff --git a/packages/flutter/lib/src/rendering/sliver_fixed_extent_list.dart b/packages/flutter/lib/src/rendering/sliver_fixed_extent_list.dart index 2fa53c9..9e3eae7 100644 --- a/packages/flutter/lib/src/rendering/sliver_fixed_extent_list.dart +++ b/packages/flutter/lib/src/rendering/sliver_fixed_extent_list.dart
@@ -163,7 +163,7 @@ @override double get itemExtent => _itemExtent; double _itemExtent; - set itemExtent (double value) { + set itemExtent(double value) { assert(value != null); if (_itemExtent == value) return; @@ -186,7 +186,7 @@ double get viewportFraction => _viewportFraction; double _viewportFraction; - set viewportFraction (double value) { + set viewportFraction(double value) { assert(value != null); if (_viewportFraction == value) return;
diff --git a/packages/flutter/lib/src/rendering/sliver_padding.dart b/packages/flutter/lib/src/rendering/sliver_padding.dart index 648d8d1..721cc5c9 100644 --- a/packages/flutter/lib/src/rendering/sliver_padding.dart +++ b/packages/flutter/lib/src/rendering/sliver_padding.dart
@@ -41,7 +41,7 @@ /// The amount to pad the child in each dimension. EdgeInsets get padding => _padding; EdgeInsets _padding; - set padding (EdgeInsets value) { + set padding(EdgeInsets value) { assert(value != null); assert(value.isNonNegative); if (_padding == value)
diff --git a/packages/flutter/lib/src/rendering/stack.dart b/packages/flutter/lib/src/rendering/stack.dart index a8819c5..9154b63 100644 --- a/packages/flutter/lib/src/rendering/stack.dart +++ b/packages/flutter/lib/src/rendering/stack.dart
@@ -275,7 +275,7 @@ /// [Overflow.clipped], children cannot paint outside of the stack's box. Overflow get overflow => _overflow; Overflow _overflow; - set overflow (Overflow value) { + set overflow(Overflow value) { assert(value != null); if (_overflow != value) { _overflow = value; @@ -291,7 +291,7 @@ /// each non-positioned child will be located at the same global coordinate. FractionalOffset get alignment => _alignment; FractionalOffset _alignment; - set alignment (FractionalOffset value) { + set alignment(FractionalOffset value) { if (_alignment != value) { _alignment = value; markNeedsLayout(); @@ -467,7 +467,7 @@ /// The index of the child to show, null if nothing is to be displayed. int get index => _index; int _index; - set index (int value) { + set index(int value) { if (_index != value) { _index = value; markNeedsLayout();
diff --git a/packages/flutter/lib/src/rendering/table.dart b/packages/flutter/lib/src/rendering/table.dart index a8a045c..688e8d0 100644 --- a/packages/flutter/lib/src/rendering/table.dart +++ b/packages/flutter/lib/src/rendering/table.dart
@@ -644,7 +644,7 @@ /// [BoxPainter.paint]. ImageConfiguration get configuration => _configuration; ImageConfiguration _configuration; - set configuration (ImageConfiguration value) { + set configuration(ImageConfiguration value) { assert(value != null); if (value == _configuration) return; @@ -655,7 +655,7 @@ /// How cells that do not explicitly specify a vertical alignment are aligned vertically. TableCellVerticalAlignment get defaultVerticalAlignment => _defaultVerticalAlignment; TableCellVerticalAlignment _defaultVerticalAlignment; - set defaultVerticalAlignment (TableCellVerticalAlignment value) { + set defaultVerticalAlignment(TableCellVerticalAlignment value) { if (_defaultVerticalAlignment == value) return; _defaultVerticalAlignment = value; @@ -665,7 +665,7 @@ /// The text baseline to use when aligning rows using [TableCellVerticalAlignment.baseline]. TextBaseline get textBaseline => _textBaseline; TextBaseline _textBaseline; - set textBaseline (TextBaseline value) { + set textBaseline(TextBaseline value) { if (_textBaseline == value) return; _textBaseline = value;
diff --git a/packages/flutter/lib/src/widgets/overlay.dart b/packages/flutter/lib/src/widgets/overlay.dart index 8df621c..62c4b3f 100644 --- a/packages/flutter/lib/src/widgets/overlay.dart +++ b/packages/flutter/lib/src/widgets/overlay.dart
@@ -82,7 +82,7 @@ /// set. bool get opaque => _opaque; bool _opaque; - set opaque (bool value) { + set opaque(bool value) { if (_opaque == value) return; _opaque = value; @@ -106,7 +106,7 @@ /// from subsequent routes will be handled properly when they complete. bool get maintainState => _maintainState; bool _maintainState; - set maintainState (bool value) { + set maintainState(bool value) { assert(_maintainState != null); if (_maintainState == value) return;
diff --git a/packages/flutter/lib/src/widgets/routes.dart b/packages/flutter/lib/src/widgets/routes.dart index ef570c1..b04c2cd 100644 --- a/packages/flutter/lib/src/widgets/routes.dart +++ b/packages/flutter/lib/src/widgets/routes.dart
@@ -638,7 +638,7 @@ /// widgets being animated as part of the transition. bool get offstage => _offstage; bool _offstage = false; - set offstage (bool value) { + set offstage(bool value) { if (_offstage == value) return; setState(() {
diff --git a/packages/flutter_test/lib/src/binding.dart b/packages/flutter_test/lib/src/binding.dart index d56282f..ee1918a 100644 --- a/packages/flutter_test/lib/src/binding.dart +++ b/packages/flutter_test/lib/src/binding.dart
@@ -202,7 +202,7 @@ /// the focus change. EditableTextState get focusedEditable => _focusedEditable; EditableTextState _focusedEditable; - set focusedEditable (EditableTextState value) { + set focusedEditable(EditableTextState value) { _focusedEditable = value..requestKeyboard(); }