normalize setter format (#8708)
This commit is contained in:
committed by
GitHub
parent
9f020d6104
commit
16d800b204
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user