normalize setter format (#8708)

This commit is contained in:
Alexandre Ardhuin
2017-03-10 21:52:30 +01:00
committed by GitHub
parent 9f020d6104
commit 16d800b204
20 changed files with 78 additions and 78 deletions

View File

@@ -41,7 +41,7 @@ class _RenderStatusBarPaddingSliver extends RenderSliver {
// 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 @@ class _RenderStatusBarPaddingSliver extends RenderSliver {
// 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;

View File

@@ -148,7 +148,7 @@ abstract class RenderDecoratedSector extends RenderSector {
BoxDecoration _decoration;
BoxDecoration get decoration => _decoration;
set decoration (BoxDecoration value) {
set decoration(BoxDecoration value) {
if (value == _decoration)
return;
_decoration = value;