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

Unified Diff: sky/sdk/example/widgets/sector.dart

Issue 1218153005: Refactoring to support dark theme better (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix import issues Created 5 years, 5 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/example/stocks/lib/stock_settings.dart ('k') | sky/sdk/example/widgets/styled_text.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/widgets/sector.dart
diff --git a/sky/sdk/example/widgets/sector.dart b/sky/sdk/example/widgets/sector.dart
index f1e83a261861336ca2e85fe67e5f935ba59937d3..0f52e1642609d3b0bd130ff3f501d4295c5c9678 100644
--- a/sky/sdk/example/widgets/sector.dart
+++ b/sky/sdk/example/widgets/sector.dart
@@ -74,13 +74,12 @@ class SectorApp extends App {
Widget build() {
return new Theme(
- data: new ThemeData.light(primary: colors.Blue, darkToolbar: true),
+ data: new ThemeData.light(),
child: new Scaffold(
toolbar: new ToolBar(
center: new Text('Sector Layout in a Widget Tree')),
body: new Material(
- color: colors.Grey[50],
- edge: MaterialEdge.canvas,
+ type: MaterialType.canvas,
child: new Flex([
new Container(
padding: new EdgeDims.symmetric(horizontal: 8.0, vertical: 25.0),
« no previous file with comments | « sky/sdk/example/stocks/lib/stock_settings.dart ('k') | sky/sdk/example/widgets/styled_text.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698