mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Rename "BorderSide.None" to "BorderSide.none", since it's a constant, and change the sky.Size.infinite() constructor to a constant.
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1158263005
This commit is contained in:
parent
0f1df21be9
commit
daae863aab
@ -15,7 +15,7 @@ class RenderSolidColor extends RenderDecoratedBox {
|
||||
final sky.Size desiredSize;
|
||||
final sky.Color backgroundColor;
|
||||
|
||||
RenderSolidColor(sky.Color backgroundColor, { this.desiredSize: const sky.Size.infinite() })
|
||||
RenderSolidColor(sky.Color backgroundColor, { this.desiredSize: sky.Size.infinite })
|
||||
: backgroundColor = backgroundColor,
|
||||
super(decoration: new BoxDecoration(backgroundColor: backgroundColor)) {
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user