mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Style guide says enum values should be lowerCamelCase.
https://www.dartlang.org/articles/style-guide/#names R=jackson@google.com Review URL: https://codereview.chromium.org/1158813004
This commit is contained in:
parent
94c76c9914
commit
0f1df21be9
@ -42,7 +42,7 @@ void main() {
|
||||
initUnit();
|
||||
|
||||
test("should flex", () {
|
||||
RenderFlex flexRoot = new RenderFlex(direction: FlexDirection.Vertical);
|
||||
RenderFlex flexRoot = new RenderFlex(direction: FlexDirection.vertical);
|
||||
|
||||
RenderDecoratedBox root = new RenderDecoratedBox(
|
||||
decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF000000)),
|
||||
@ -74,7 +74,7 @@ void main() {
|
||||
|
||||
flexRoot.add(new RenderPadding(padding: const EdgeDims.all(10.0), child: renderDecoratedBlock));
|
||||
|
||||
var row = new RenderFlex(direction: FlexDirection.Horizontal);
|
||||
var row = new RenderFlex(direction: FlexDirection.horizontal);
|
||||
|
||||
// Purple and blue cells
|
||||
addFlexChildSolidColor(row, const sky.Color(0x77FF00FF), flex: 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user