Commit d645bc74 authored by Adam Barth's avatar Adam Barth

Be explicit about the theme in the starter app

This gives developers a breadcrumb they can follow to customize the
theme of their app. Previously, some customers were trying to set a
theme by manually configuring the colors of all their widgets.

Fixes #2980
parent db9a92e5
......@@ -12,6 +12,9 @@ void main() {
runApp(
new MaterialApp(
title: 'Flutter Demo',
theme: new ThemeData(
primarySwatch: Colors.blue
),
routes: <String, WidgetBuilder>{
'/': (BuildContext context) => new FlutterDemo()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment