flutter/packages/flutter_tools/templates/create
Ian Hickson e502e9c8f8 ImageIcon (#4649)
Anywhere that accepted IconData now accepts either an Icon or an
ImageIcon.

Places that used to take an IconData in an `icon` argument, notably
IconButton and DrawerItem, now take a Widget in that slot. You can wrap
the value that used to be passed in in an Icon constructor to get the
same result.

Icon itself now takes the icon as a positional argument, for brevity.

ThemeData now has an iconTheme as well as a primaryIconTheme, the same
way it has had a textTheme and primaryTextTheme for a while.

IconTheme.of() always returns a value now (though that value itself may
have nulls in it). It defaults to the ThemeData.iconTheme.

IconThemeData.fallback() is a new method that returns an icon theme data
structure with all fields filled in.

IconTheme.merge() is a new constructor that takes a context and creates
a widget that mixes in the new values with the inherited values.

Most places that introduced an IconTheme widget now use IconTheme.merge.

IconThemeData.merge and IconThemeData.copyWith act in a way analogous to
the similarly-named members of TextStyle.

ImageIcon is introduced. It acts like Icon but takes an ImageProvider
instead of an IconData.

Also: Fix the analyzer to actually check the stocks app.
2016-06-20 21:04:45 -07:00
..
.atom/launches.tmpl send supportsRestart flag when starting an app (#4513) 2016-06-13 13:16:20 -07:00
android Change the Android activity launch mode to singleTop (#3792) 2016-05-09 09:31:34 -07:00
ios clean the project names used for flutter create 2016-03-02 12:36:37 -08:00
lib ImageIcon (#4649) 2016-06-20 21:04:45 -07:00
.gitignore.tmpl Remove all inline templates and provide a way to specify templates as resources 2016-02-24 11:33:07 -08:00
flutter.yaml.tmpl Switch Material Design icons to using the iconfont 2016-03-02 09:32:02 -08:00
pubspec.yaml.tmpl Remove all inline templates and provide a way to specify templates as resources 2016-02-24 11:33:07 -08:00
README.md.tmpl Remove all inline templates and provide a way to specify templates as resources 2016-02-24 11:33:07 -08:00

# {{projectName}}

{{description}}

## Getting Started

For help getting started with Flutter, view our online
[documentation](http://flutter.io/).