Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Unified Diff: sky/sdk/lib/framework/rendering/box.dart

Issue 1158263005: Rename "BorderSide.None" to "BorderSide.none", since it's a constant, and change the sky.Size.infin… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/framework/components2/scaffold.dart ('k') | sky/sdk/lib/framework/rendering/stack.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/rendering/box.dart
diff --git a/sky/sdk/lib/framework/rendering/box.dart b/sky/sdk/lib/framework/rendering/box.dart
index cd02fdb41e1500763a0baa6d8e477623d84501b0..c6c878354a103371bb426aef79612ae3cf2b46a1 100644
--- a/sky/sdk/lib/framework/rendering/box.dart
+++ b/sky/sdk/lib/framework/rendering/box.dart
@@ -191,7 +191,7 @@ class RenderSizedBox extends RenderProxyBox {
RenderSizedBox({
RenderBox child,
- sky.Size desiredSize: const sky.Size.infinite()
+ sky.Size desiredSize: sky.Size.infinite
}) : super(child) {
assert(desiredSize != null);
this.desiredSize = desiredSize;
@@ -377,7 +377,7 @@ class BorderSide {
final sky.Color color;
final double width;
- static const None = const BorderSide(width: 0.0);
+ static const none = const BorderSide(width: 0.0);
int get hashCode {
int value = 373;
@@ -390,10 +390,10 @@ class BorderSide {
class Border {
const Border({
- this.top: BorderSide.None,
- this.right: BorderSide.None,
- this.bottom: BorderSide.None,
- this.left: BorderSide.None
+ this.top: BorderSide.none,
+ this.right: BorderSide.none,
+ this.bottom: BorderSide.none,
+ this.left: BorderSide.none
});
const Border.all(BorderSide side) :
top = side,
« no previous file with comments | « sky/sdk/lib/framework/components2/scaffold.dart ('k') | sky/sdk/lib/framework/rendering/stack.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698