flutter/examples/layers/widgets
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
..
autolayout.dart Move cassowary into package:flutter (#3591) 2016-04-27 17:32:06 -07:00
custom_render_box.dart Add @override annotations to flutter framework 2016-03-14 14:02:26 -07:00
gestures.dart Hide routes from the API when they're not needed. (#3431) 2016-04-20 09:33:28 -07:00
hello_world.dart Clean up the standalone examples 2016-02-13 11:00:58 -08:00
media_query.dart ImageIcon (#4649) 2016-06-20 21:04:45 -07:00
sectors.dart Hide routes from the API when they're not needed. (#3431) 2016-04-20 09:33:28 -07:00
spinning_mixed.dart Refactor everything to do with images (#4583) 2016-06-16 09:49:48 -07:00
spinning_square.dart Add @override annotations to flutter framework 2016-03-14 14:02:26 -07:00
styled_text.dart Hide routes from the API when they're not needed. (#3431) 2016-04-20 09:33:28 -07:00