From b6e2a666961055f68fecd02f78d94ca9b7af7cfc Mon Sep 17 00:00:00 2001 From: Hixie Date: Tue, 30 Jun 2015 12:48:04 -0700 Subject: [PATCH] Remove Material's opinion about background colours, since in fact the background colour varies dramatically with the kind of material involved. Also: - give users of Material who previously relied on Material's defaults opinions about background colours - reindent stock_row.dart - import colors as colors in example/widgets/styled_text.dart, rather than in global scope, for consistency with other files - import typography as typograpyh in example/widgets/tabs.dart, rather than in global scope, for consistency with other files - make flat_button actually be transparent by not painting a background, rather than painting 0x00000000. This is the what I actually originally set out to do here. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1217293003. --- engine/src/flutter/tests/widgets/buttons-expected.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/engine/src/flutter/tests/widgets/buttons-expected.txt b/engine/src/flutter/tests/widgets/buttons-expected.txt index 5ffc629fb20..52b9591aee2 100644 --- a/engine/src/flutter/tests/widgets/buttons-expected.txt +++ b/engine/src/flutter/tests/widgets/buttons-expected.txt @@ -29,7 +29,6 @@ PAINT FOR FRAME #3 ---------------------------------------------- 3 | | | TestPaintingCanvas() constructor: 800.0 x 600.0 3 | | | paintChild RenderConstrainedBox at Point(356.0, 282.0) 3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0 -3 | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0x00000000))) 3 | | | | paintChild RenderPositionedBox at Point(364.0, 282.0) 3 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0 3 | | | | | paintChild RenderParagraph at Point(370.0, 290.0)