- 04 Oct, 2019 2 commits
-
-
Alexandre Ardhuin authored
-
Greg Spencer authored
-
- 02 Oct, 2019 1 commit
-
-
Greg Spencer authored
Adds an ActivateAction to controls that use InkWell. Make InkWell host the Focus for those controls, and add the top level binding to the ENTER key. This will make it possible to trigger a button using the enter key, and to get an ink response when the button is triggered. This is a breaking change because it moves the Focus widget into the InkWell. If you have a component that uses the InkWell directly and you used to wrap that InkWell in a Focus widget to give it its notion of focus, it will now not look for that Focus ancestor for its focus state anymore. In order to control focus on the InkWell, you need to give it a FocusNode directly, via the new focusNode parameter. This should not affect users of widgets like OutlineButton or FloatingActionButton and the like, since those have been modified in this PR.
-
- 09 Aug, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 25 Jun, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 15 May, 2019 2 commits
-
-
MH Johnson authored
-
Greg Spencer authored
This implements focus and hover handling for Material buttons. It inserts Focus widgets into the tree in order to allow buttons to be focusable via keyboard traversal (a.k.a. TAB traversal), and Listener widgets into the InkWell to allow the detection of hover states for widgets. Addresses #11344, #1608, and #13264.
-
- 02 May, 2019 1 commit
-
-
MH Johnson authored
* add text style params * add icon theme params * Added tests
-
- 04 Apr, 2019 2 commits
-
-
Kate Lovett authored
-
Kate Lovett authored
-
- 01 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
* add trailing commas on list/map/parameters * add trailing commas on Invocation with nb of arg>1 * add commas for widget containing widgets * add trailing commas if instantiation contains trailing comma * revert bad change
-
- 22 Feb, 2019 1 commit
-
-
Hans Muller authored
-
- 15 Feb, 2019 1 commit
-
-
Greg Spencer authored
This converts all remaining "## Sample code" segments into snippets, and fixes the snippet generator to handle multiple snippets in the same dartdoc block properly. I also generated, compiled, and ran each of the existing application samples, and fixed them up to be more useful and/or just run without errors. This PR fixes these problems with examples: 1. Switching tabs in a snippet now works if there is more than one snippet in a single dartdoc block. 2. Generation of snippet code now works if there is more than one snippet. 3. Contrast of text and links in the code sample block has been improved to recommended levels. 4. Added five new snippet templates, including a "freeform" template to make it possible to show examples that need to change the app instantiation. 5. Fixed several examples to run properly, a couple by adding the "Scaffold" widget to the template, a couple by just fixing their code. 6. Fixed visual look of some of the samples when they run by placing many samples inside of a Scaffold. 7. In order to make it easier to run locally, changed the sample analyzer to remove the contents of the supplied temp directory before running, since having files that hang around is problematic (only a problem when running locally with the `--temp` argument). 8. Added a `SampleCheckerException` class, and handle sample checking exceptions more gracefully. 9. Deprecated the old "## Sample code" designation, and added enforcement for the deprecation. 10. Removed unnecessary `new` from templates (although they never appeared in the samples thanks to dartfmt, but still). Fixes #26398 Fixes #27411
-
- 01 Feb, 2019 1 commit
-
-
MhdHejazi authored
-
- 18 Jan, 2019 1 commit
-
-
MH Johnson authored
-
- 16 Jan, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 07 Jan, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 07 Nov, 2018 1 commit
-
-
Michael Beckler authored
Should fix #22226. Code introduced in #20890 caused a regression that broke color flooding animations in a BottomNavigationBar that has BottomNavigationBarType.shifting. The original issue (#19653) dealt with background color changes not occurring until another tab was selected. The result is that the background color instantly changes whenever the state changes and when the widget changes, instead of allowing a new widget to animate the background color change.
-
- 16 Oct, 2018 1 commit
-
-
Philip authored
* Added sample code for BottomNavigationBar widget [#21136] * bottomnavigationbaritems made single line
-
- 12 Oct, 2018 3 commits
-
-
matthew-carroll authored
This reverts commit 80f80ab0.
-
Artur Rymarz authored
-
matthew-carroll authored
For G3 Roll: * Revert "MaterialButton must honor its minWidth and height parameters (#22919)" This reverts commit a0233233. * Revert "Update uses of ButtonTheme.bar: pass along the current Theme's colorScheme (#22827)" This reverts commit 655bf6a2. * Revert "ButtonTheme.of().colorScheme defers to Theme (#22880)" This reverts commit a590940e. * Revert "Bring TextTheme into alignment with the current Material spec (#22330)" This reverts commit 8bfb4b3e. * Revert "Added ColorScheme, updated ThemeData, ButtonTheme, material buttons (#22013)" This reverts commit eea3465a. * Manual adjustments to fix reversion issues.
-
- 10 Oct, 2018 1 commit
-
-
Hans Muller authored
-
- 01 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 23 Sep, 2018 1 commit
-
-
Ian Hickson authored
-
- 13 Sep, 2018 1 commit
-
-
Jonah Williams authored
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 22 Aug, 2018 1 commit
-
-
Hans Muller authored
BottomNavigationBar's state needs to update _backgroundColor when its configuration changes.
-
- 31 Jul, 2018 1 commit
-
-
Jonah Williams authored
-
- 26 Jul, 2018 1 commit
-
-
Jonah Williams authored
-
- 09 Jul, 2018 1 commit
-
-
Hans Muller authored
-
- 07 Jun, 2018 1 commit
-
-
Jonah Williams authored
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 03 May, 2018 1 commit
-
-
Konstantin Scheglov authored
-
- 23 Apr, 2018 1 commit
-
-
Yegor authored
New a11y traversal: - sort direct sibling SemanticsNodes only - use new sorting algorithm - implement RTL - test semantics in traversal order by default - add AppBar traversal test - breaking: remove nextNodeId/previousNodeId from the framework - breaking: remove DebugSemanticsDumpOrder.geometricOrder
-
- 12 Mar, 2018 1 commit
-
-
Hans Muller authored
-
- 06 Mar, 2018 1 commit
-
-
Michael Goderbauer authored
-
- 02 Feb, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 08 Dec, 2017 1 commit
-
-
Chris Bracken authored
Updates scaffold to expose bottom padding to the associated BottonNavigationBar (if present). BottomNavigationBar is now responsible for adjusting itself to account for bottom padding. This change is necessary to support the updated BottomNavigationBar layout for the iPhone X.
-
- 25 Nov, 2017 1 commit
-
-
Devon Carew authored
-