- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 20 Mar, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 03 Aug, 2017 1 commit
-
-
Jacob Richman authored
Add Diagnosticable base class and documentation
-
- 25 Jul, 2017 1 commit
-
-
Jacob Richman authored
Refactor RenderObject.toStringDeep and Widget.toStringDeep code to use DiagnosticsNode.
-
- 21 May, 2017 1 commit
-
-
xster authored
Moved everything icons related except the material icon button and the materialicon font list to widget
-
- 20 May, 2017 1 commit
-
-
xster authored
* Let Theme insert an IconTheme into the widget tree * flip the order, no real reason * Let icon theme use its own fallback * review notes * more review notes
-
- 19 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 23 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
* more widget const constructors * prefer const constructors * address review comments
-
- 13 Apr, 2017 1 commit
-
-
Ian Hickson authored
I can't figure out if this is genius or a giant hack. This lets you use DefaultTextStyle.merge and IconTheme.merge without specifying a BuildContext. It automatically merges in at the appropriate place in the tree using a Builder widget.
-
- 08 Apr, 2017 1 commit
-
-
Ian Hickson authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
Covers lib/ in package:flutter.
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 13 Jan, 2017 1 commit
-
-
Adam Barth authored
Now IconThemeData.fallback is a factory constructor and IconThemeData.of() does the work of computing the fallback for its clients. Also, add tests for ImageIcon and ListItems.
-
- 19 Nov, 2016 1 commit
-
-
Ian Hickson authored
-
- 24 Oct, 2016 1 commit
-
-
Ian Hickson authored
-
- 21 Jun, 2016 1 commit
-
-
Ian Hickson authored
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.
-
- 20 Jun, 2016 1 commit
-
-
Ian Hickson authored
-
- 03 Jun, 2016 1 commit
-
-
Adam Barth authored
This patch starts working through the missing dartdocs in widgets.dart.
-
- 12 Apr, 2016 1 commit
-
-
Adam Barth authored
Now past halfway though material.dart by files.
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 07 Jan, 2016 1 commit
-
-
Ian Hickson authored
Make ancestorStateOfType() and ancestorRenderObjectOfType() support subclassing. Fixes https://github.com/flutter/flutter/issues/1087
-
- 11 Dec, 2015 1 commit
-
-
Adam Barth authored
- Adds dartdoc for all the `of` functions. - Renames Image to RawImage. This widget is rarely used and shouldn't take up such a nice global name. Fixes #361
-
- 18 Nov, 2015 1 commit
-
-
Hixie authored
I'm planning on adding more .of() functions and so to avoid further copypasta I'm providing some general utility functions here.
-
- 27 Oct, 2015 1 commit
-
-
Ian Hickson authored
- Change RouteArguments to pass the route's BuildContext rather than the Navigator. This caused the bulk of the examples/ and .../test/ changes (those are mostly mechanical changes). It also meant I could simplify Navigator.of(). - Make initState() actually get called when the State's Element is in the tree, so you can use Foo.of() functions there. Added a test for this also. - Provide a RouteWidget so that routes have a position in the Widget tree. The bulk of the route logic is still in a longer-lived Route object for now. - Make Route.setState() only rebuild the actual route, not the whole navigator. - Provided a Route.of(). - Provided a Route.writeState / Route.readState API that tries to identify the clients by their runtimeType, their key, and their ancestors keys, up to the nearest ancestor with a GlobalKey. - Made scrollables hook into this API to track state. Added a test to make sure this works. - Fix the debug output of GestureDetector and the hashCode of MixedViewport. - Fixed ScrollableWidgetListState<T> to handle infinite lists.
-
- 19 Oct, 2015 1 commit
-
-
Adam Barth authored
A MaterialList understands the sizing, padding, and scrollbar features of Material Design lists. Also, add CircleAvatar for showing the circular avatars that are commonly used in material lists.
-