- 21 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
* make @immutable const * fix build
-
- 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.
-
- 11 Apr, 2017 1 commit
-
-
xster authored
Rename State.config to State.widget Rename State.didUpdateConfig to State.didUpdateWidget Renamed all State subclasses' local variables named config to something else
-
- 06 Apr, 2017 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/pull/8643 Fixes https://github.com/flutter/flutter/issues/8804 by adding a test to verify that Material elevation changes animate. Also tweak some dartdocs, add some trailing commas, improve some toString output, make the inkwell test agnostic to the PhysicalModel logic, and move the material buttons test to the material test directory.
-
- 27 Mar, 2017 1 commit
-
-
Luke authored
* adds border radius to ink widgets. sets default ink border radius for material buttons with no background colors * tidying up code * add ink test stub * remove unused import
-
- 24 Mar, 2017 1 commit
-
-
Hans Muller authored
-
- 23 Mar, 2017 1 commit
-
-
Luke authored
* adds highlight + splash color properties to material button * add states to raised button + flat button * fixes an issue where the custom highlight would not be properly set * Add preliminary tests for theme highlight + splash and via theme * documentation changes. tweaks per code review feedback * comment out unused variable * remove unused import * documentation updates. removed commented code
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
Covers lib/ in package:flutter.
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 20 Jan, 2017 1 commit
-
-
Adam Barth authored
Also, fix some minor bugs with SynchronousFuture.
-
- 19 Nov, 2016 1 commit
-
-
Ian Hickson authored
-
- 03 Nov, 2016 1 commit
-
-
Ian Hickson authored
Based on P5's experience
-
- 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.
-
- 14 Jun, 2016 2 commits
- 12 Jun, 2016 1 commit
-
-
Adam Barth authored
We now use the `@required` annotation to encourage developers to explicitly set onPressed and onChanged callbacks to null when that would disable the widget. Fixes #287
-
- 09 Jun, 2016 1 commit
-
-
Ian Hickson authored
Also renames ButtonTheme.footer to ButtonTheme.bar.
-
- 07 Jun, 2016 1 commit
-
-
Todd Volkert authored
Fixes 3544
-
- 25 May, 2016 1 commit
-
-
Adam Barth authored
For consistency. Fixes #4142
-
- 04 May, 2016 1 commit
-
-
Adam Barth authored
Making progress towards document all public APIs in material.dart. We're still missing a few odds and ends (as well as missing docs in tabs.dart, tooltip.dart, and two_level_list.dart).
-
- 29 Apr, 2016 1 commit
-
-
Adam Barth authored
Instead of incorporating the margin into the button, introduce a ButtonBar widget that supplies the proper spacing between the buttons. Also, make these buttons more configurable via ButtonTheme so that dialogs can change the minWidth and padding of the buttons as required by the spec. Fixes #1843 Fixes #3184
-
- 26 Apr, 2016 1 commit
-
-
Adam Barth authored
Fixes #3186
-
- 14 Apr, 2016 1 commit
-
-
Ian Hickson authored
-
- 07 Apr, 2016 1 commit
-
-
Adam Barth authored
Also, clean up a few interfaces that looked awkward when writing docs.
-
- 31 Mar, 2016 1 commit
-
-
Adam Barth authored
Also, fill out other documentation for these widgets. Fixes #967
-
- 18 Mar, 2016 1 commit
-
-
Adam Barth authored
This patch adds a consistent, simple description for the common pattern of having a single child widget.
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 12 Mar, 2016 3 commits
-
-
Adam Barth authored
This patch renames StatelessComponent to StatelessWidget and StatefulComponent to StatefulWidget. Fixes #2308
-
Adam Barth authored
Fixes #1382
-
Adam Barth authored
Fixes #1278
-
- 21 Feb, 2016 1 commit
-
-
Adam Barth authored
These files are already in the "material" folder. They don't need to be prefixed with material again. Fixes #702
-
- 14 Feb, 2016 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/1331 Hopefully this will be enough to start with. If this continues to be a point of confusion we can see about adding more documentation or changing the API somehow.
-
- 09 Feb, 2016 1 commit
-
-
Hans Muller 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
-
- 08 Dec, 2015 1 commit
-
-
Adam Barth authored
After this patch, if you try to use a widget that depends on being enclosed in a material, you now get an assert and a debugPrint if you're not inside a material. Fixes #243
-
- 01 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 18 Nov, 2015 2 commits
-
-
Hans Muller authored
Shadows now render as three seprate MaskFilter.blur components per the most recent Material spec. The shadows Map was replaced by a similar Map called elevationToShadow with entries that match the 10 elevations specifed by http://www.google.com/design/spec/what-is-material/elevation-shadows.html. The "level" property (many classes) is now called "elevation", to match the Material spec. BoxShadow now includes a spreadRadius parameter - as in CSS box-shadow. Renamed the BoxShadow blur property to blurRadius to further align BoxShadow with CSS box-shadow.
-
Hixie authored
I'm planning on adding more .of() functions and so to avoid further copypasta I'm providing some general utility functions here.
-