- 24 Aug, 2018 1 commit
-
-
liyuqian authored
This allows developers to control the clipBehavior of those buttons.
-
- 09 Jul, 2018 1 commit
-
-
Jonah Williams authored
-
- 03 Jul, 2018 2 commits
-
-
Jonah Williams authored
This reverts commit 989f5741.
-
Jonah Williams authored
-
- 20 Mar, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 02 Mar, 2018 1 commit
-
-
Hans Muller authored
-
- 05 Feb, 2018 1 commit
-
-
Hans Muller authored
-
- 11 Jan, 2018 1 commit
-
-
Ian Hickson authored
This provides a way to draw colors, images, and general decorations on Material widgets, without interfering with InkWells that are further descendants of the widget. This thus provides a cleaner way to solve the issue of FlatButtons and InkWells not working when placed over Image widgets than the old hack of introducing a transparency Material. Fixes #3782. Also, some fixes to documentation, and remove a redundant property on the Image widget.
-
- 29 Nov, 2017 1 commit
-
-
Yusuke Konishi authored
* Implements FlatButton debugFillDescription * Fix doc comment * Override debugFillProperties instead of debugFillDescription * Remove child debug property
-
- 13 Oct, 2017 1 commit
-
-
Greg Spencer authored
This modifies the MaterialButton to expand vertically to fit the size of the contained child, no matter what the child widget is. It tries to be as close as possible to the minHeight constraint. Also updated some doc comments to have headers (extra blank line after first sentence), and to wrap at 80 cols. Addresses #12311
-
- 08 Aug, 2017 1 commit
-
-
Hans Muller authored
-
- 03 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
-
- 31 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
* add @required when there's an assert not null * address review comments
-
- 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
-
- 21 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
* use color.shadeXxx instead of color[Xxx] * remove calls to .shade500 on MaterialColor * remove calls to .shade200 on MaterialAccentColor * fix test
-
- 30 Jan, 2017 1 commit
- 20 Jan, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 14 Jan, 2017 1 commit
-
-
Adam Barth authored
The demo of the SimpleDialog had some useful code that should really be part of the framework. This patch extracts it into a SimpleDialogOption widget. Remove debugCheckHasScaffold because it is unused. Also, add tests for InkWell, SimpleDialog, and other widgets.
-
- 19 Nov, 2016 1 commit
-
-
Ian Hickson authored
-
- 23 Oct, 2016 1 commit
-
-
Wyatt Arent authored
-
- 20 Oct, 2016 1 commit
-
-
Ian Hickson authored
Based on observations of usability study participant P1.
-
- 16 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
Fixes #3208.
-
- 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
-
- 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
-
- 07 Apr, 2016 1 commit
-
-
Adam Barth authored
Also, clean up a few interfaces that looked awkward when writing docs.
-
- 01 Apr, 2016 1 commit
-
-
Adam Barth authored
-
- 31 Mar, 2016 1 commit
-
-
Adam Barth authored
Also, fill out other documentation for these widgets. Fixes #967
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 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.
-
- 01 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 18 Nov, 2015 1 commit
-
-
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.
-
- 27 Oct, 2015 3 commits
-
-
Adam Barth authored
Previous these callbacks were leaking the implementation detail that they were triggered by taps. In a later patch, we're going to add a parameter to GestureTapCallback that these callbacks won't have. Related to #1807
-
Hixie authored
Instread of an explicit 'enabled' bool, this uses the presence of the event handler to determine if a widget is enabled or not. This means that if you've not passed a handler, your widget will be disabled, which makes sense, since it wouldn't work anyway. Adds this feature to checkbox, and ports raised button, flat button, and radio buttons to this new model. Adds a checkbox to card_collection that can be disabled. Hide a (basically bogus) hint from the (soon to be disabled) strong hint mode in the analyzer that this reveals.
-
Hixie authored
-
- 16 Oct, 2015 1 commit
-
-
Adam Barth authored
The goal is to follow the guidelines in https://github.com/flutter/engine/blob/master/sky/specs/style-guide.md#packages Fixes #1638
-