- 15 Jan, 2019 1 commit
-
-
Ian Hickson authored
Previously, a disabled floating action button always had zero elevation, which looks dumb. This also fixes the issue whereby highlightElevation was not honoured on floating action buttons. This also fixes an issue I found during testing whereby setState was being called during build when onHighlightChanged fired due to onPressed becoming null while a gesture is ongoing (which triggers an onTapCancel synchronously during build).
-
- 24 Dec, 2018 1 commit
-
-
Ian Hickson authored
Top left and top right for big FABs, and top left for mini FABs.
-
- 18 Dec, 2018 2 commits
-
-
Alexandre Ardhuin authored
-
Michael Goderbauer authored
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 30 Aug, 2018 1 commit
-
-
MH Johnson authored
* [FAB] Updated tooltip touch target. * Remove "new" keyword * [FAB] Updated tooltip touch target. * "long press button edge" * remove new * remove new * put "new" keywords back in * Remove check for childless tooltip * Added regression test - tooltip works on edge of FAB which has no child. Added helper method to find the right edge of a in the tests. * Changed "find.byType(text)" to "find.text('Add')"
-
- 24 Aug, 2018 1 commit
-
-
liyuqian authored
This allows developers to control the clipBehavior of those buttons.
-
- 02 Aug, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Jul, 2018 1 commit
-
-
Todd Volkert authored
It was causing problems rolling Flutter into Fuchsia
-
- 23 Jul, 2018 1 commit
-
-
Alexandre Ardhuin authored
* re-enable lint unnecessary_const * remove trailling whitespaces * remove unnecessary const (after merge)
-
- 19 Jul, 2018 1 commit
-
-
Hans Muller authored
-
- 16 Jul, 2018 2 commits
-
-
Ian Hickson authored
This reverts commit cc1cf13e.
-
Alexandre Ardhuin authored
-
- 09 Jul, 2018 1 commit
-
-
Jonah Williams authored
-
- 03 Jul, 2018 2 commits
-
-
Jonah Williams authored
This reverts commit 989f5741.
-
Jonah Williams authored
-
- 21 Jun, 2018 1 commit
-
-
amirh authored
Move the notch computation from the FAB to the BAB. The notch in the BAB (bottom action bar) for the FAB (floating action button) was previously kept as part of the FAB's implementation. This was done to keep the shape of the FAB and the shape of the notch coupled. That approach resulted in a somewhat complex and 'non Fluttery' mechanism for propagating the notch computation from the FAB to the BAB. This CL uncouples the FAB and the notch computation. With the new API the BAB computes its overall shape including the notch using a NotchedShape delegate. This includes multiple breaking changes: * Scaffold.setFloatingActionButtonNotchFor is deleted. * The ComputeNotch type is deleted. * The hasNotch property of BottomAppBar is deleted. * The notchMargin property of FloatingActionButton is deleted. Quick migration guide from the previous API: | Previous API | New API | | ------------------|-------------| | BottomAppBar(hasNotch: false) | BottomAppBar() | | Using a FloatingActionButton with: BottomAppBar() / BottomAppBar(hasNotch: true) | BottomAppBar(shape: CircularNotchedRectangle()) | | Scaffold.setFloatingActionButtonNotchFor(..) | No longer supported |
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 May, 2018 1 commit
-
-
Jonah Williams authored
-
- 03 May, 2018 1 commit
-
-
Konstantin Scheglov authored
-
- 03 Apr, 2018 1 commit
-
-
Hans Muller authored
-
- 29 Mar, 2018 1 commit
-
-
Michael Goderbauer authored
-
- 23 Mar, 2018 1 commit
-
-
Hans Muller authored
-
- 23 Feb, 2018 1 commit
-
-
amirh authored
-
- 21 Feb, 2018 1 commit
-
-
amirh authored
* add a FAB NotchMaker to ScaffoldGeometry * add a notchMaker to FloatingActionButton * Initial implementation of BottomAppBar Mainly includes the notch making logic. Not yet tested as currently there is no way to make the FAB and the BAB overlap, once #14368 to lands we could add unit tests to the BottomAppBar as well. * use a closeable for clearing the FAB notchmaker
-
- 31 Jan, 2018 1 commit
-
-
Michael Goderbauer authored
-
- 21 Dec, 2017 1 commit
-
-
Ian Hickson authored
This attempts to apply some of what we learnt from UX studies, namely that people wonder how to add multiple children to widget that take one child.
-
- 15 Sep, 2017 1 commit
-
-
Ian Hickson authored
* Allow FloatingActionButton to not have a heroTag. * Allow FloatingActionButton to not have a child. * Allow Tooltip to not have a child. * Improve the debug output of the default FloatingActionButton hero tag. * Improve the error message in the Hero clashing-tag case. * Improve the debug output of the Hero widget. * Improve the debug output of gesture-related widgets. * Minor improvements to documentation. * Fix some typos in comments. * Fix some style nits.
-
- 27 May, 2017 1 commit
-
-
Ian Hickson authored
Minor fixes throughout, e.g. removing trailing commas from the end of sample code expressions, changing headings to "sample code" more consistently, removing stale todos, fix typos in a private method name, minor grammar fixes, added some clarifications to CircularProgressIndicator, LinearProgressIndicator, CrossAxisAlignment, added some cross-references to various members, made it slightly clearer that layout algorithms are implementation details. Clarified "elevation" throughout. Added docs to InkResponse and InkWell. Added sample code for: SliverAppBar, Card, ListTile, EdgeInsets, Row, Column, CustomScrollView, ListView, SliverFixedExtentList, and SliverGrid. Fixes #10317. Fixes #10316. Fixes #10267. (sort of, see comment therein) Fixes #9331. (sort of, see comment therein) Fixes #9407. (sort of, see comment therein)
-
- 21 May, 2017 1 commit
-
-
xster authored
Moved everything icons related except the material icon button and the materialicon font list to widget
-
- 03 May, 2017 1 commit
-
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/9342
-
- 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
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 20 Jan, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 19 Nov, 2016 1 commit
-
-
Ian Hickson authored
-
- 10 Nov, 2016 1 commit
-
-
Chris Bracken authored
These define a TextTheme and IconTheme that contrast with the accent colour brightness. Also adjust default accentColorBrightness to match Material spec examples (dark text/icons on teal in Dark theme). Update material components to use accentTextTheme, accentIconTheme: * DatePicker selection * Floating action button icon * TimePicker selection * Slider label text
-
- 03 Nov, 2016 1 commit
-
-
Ian Hickson authored
Based on P5's experience
-
- 23 Oct, 2016 1 commit
-
-
Wyatt Arent authored
-
- 02 Aug, 2016 1 commit
-
-
Adam Barth authored
Previously we were resizing a paragraph of text during the animation. Now we animate the text and the image separately. Also, add a default hero tag for FloatingActionButton so that it animates as part of the hero transition as well.
-