- 17 Dec, 2019 1 commit
-
-
Shi-Hao Hong authored
-
- 13 Dec, 2019 1 commit
-
-
Alexandre Ardhuin authored
* implicit-casts:false in flutter/lib/src/material * address review comments
-
- 05 Dec, 2019 1 commit
-
-
Greg Spencer authored
This adds actions and shortcuts arguments to WidgetsApp (and MaterialApp and CupertinoApp) to allow developers to override the default mappings on an application, and to allow for a more complex definition of the default mappings. I've stopped using SelectAction here, in favor of using ActivateAction for all activations, but haven't removed it, to avoid a breaking change, and to allow a common base class for these types of actions. This is because some platforms use the same mapping (web) for both kinds of activations (both select and activate).
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
- 22 Nov, 2019 1 commit
-
-
Alexandre Ardhuin authored
* make BuildContext.{ancestorStateOfType,ancestorRenderObjectOfType,rootAncestorStateOfType} generic * make BuildContext.inheritFromWidgetOfExactType generic * make BuildContext.ancestorInheritedElementForWidgetOfExactType generic * make BuildContext.ancestorWidgetOfExactType generic * fix snippet * bump scoped_model on temp version * update names * Revert "bump scoped_model on temp version" This reverts commit d1fcbba028cdb07f44738d1652391692d1ea5ec0. * address review comments * fix ci * address review comments * repeat the deprecation notice * fix uppercase * use of recommanded deprecation syntax * address review comment
-
- 08 Nov, 2019 1 commit
-
-
Greg Spencer authored
As it stands, dropdowns currently do not focus the item that is selected, so if you select something on a dropdown, and then close it, and re-open it, then the new item is not auto-focused. This PR changes that so that selected value is focused by default when the dropdown is re-opened.
-
- 05 Nov, 2019 1 commit
-
-
Shi-Hao Hong authored
-
- 30 Oct, 2019 1 commit
-
-
Greg Spencer authored
This re-lands the change that adds focus nodes, hover, and shortcuts to switches, checkboxes, and radio buttons. (#43213), with fixes for the web tests that weren't enabled in the master that it was synced to when I first landed it.
-
- 28 Oct, 2019 2 commits
-
-
Shi-Hao Hong authored
- Adds an assert message checking for exactly one unique value for `DropdownItem`s
-
Shi-Hao Hong authored
* Fix DropdownButton disabledHint behavior * Fix hint behavior when selectedItemBuilder is null * Improve variable names, some formatting updates * Create _DropdownMenuItemContainer widget * Improve API docs to be consistent with hint/disabledHint actual behavior
-
- 18 Oct, 2019 1 commit
-
-
Greg Spencer authored
This adds a Focus node to the DropdownButton widget, allowing it to receive keyboard focus, and to show a focus highlight. In addition, I added the ability to activate the dropdown using the "enter" key binding (which is bound to ActivateAction in the WidgetsApp). Related Issues Fixes #42646 Fixes #43008 Fixes #42511
-
- 14 Oct, 2019 1 commit
-
-
Greg Spencer authored
This changes the DropDownButton so that instead of dismissing itself when any metrics change occurs, it only dismisses itself when the orientation changes. This gets around the fact that we can't currently have a dropdown and a text field on the same page because the keyboard disappearing when the dropdown gets focus causes a metrics change, and the dropdown immediately disappears when activated. It still will cause the keyboard to jump up and down between controls, but that's a larger issue. At least now we can use the two together again.
-
- 10 Oct, 2019 1 commit
-
-
Shi-Hao Hong authored
-
- 09 Oct, 2019 2 commits
-
-
Shi-Hao Hong authored
* Fix DropdownButton crash when hint and selectedItemBuilder are simultaneously defined
-
Hans Muller authored
* Reprise: Dropdown Menu layout respects menu items intrinsic sizes * updated per review feedback * updated per review feedback
-
- 02 Oct, 2019 1 commit
-
-
Shi-Hao Hong authored
* Add dropdown button style doc example for unique text styles
-
- 27 Sep, 2019 1 commit
-
-
Hans Muller authored
This reverts commit e47a1dc2.
-
- 26 Sep, 2019 1 commit
-
-
Hans Muller authored
-
- 24 Sep, 2019 2 commits
-
-
Alexandre Ardhuin authored
-
Alexandre Ardhuin authored
-
- 17 Sep, 2019 2 commits
-
-
Brian Egan authored
-
Alexandre Ardhuin authored
-
- 16 Sep, 2019 1 commit
-
-
MH Johnson authored
* Create 'center' template
-
- 14 Sep, 2019 1 commit
-
-
Shi-Hao Hong authored
* Implement DropdownButton.selectedItemBuilder
-
- 10 Sep, 2019 1 commit
-
-
Sarbagya Dhaubanjar authored
* Added properties in DropdownFormField to match DropdownButton * Minor style guide related changes
-
- 09 Aug, 2019 1 commit
-
-
Brian Egan authored
-
- 08 Aug, 2019 1 commit
-
-
Justin McCandless authored
(Breaking Change) Move some hardcoded pixel values to reusable constants.
-
- 03 Jun, 2019 1 commit
-
-
Shi-Hao Hong authored
-
- 29 May, 2019 1 commit
-
-
Darren Austin authored
Fixed an issue with a DropdownButton crashing when a style was used that didn't include a fontSize.
-
- 21 Mar, 2019 1 commit
-
-
Shayne Kelly II authored
-
- 20 Mar, 2019 1 commit
-
-
Shi-Hao Hong authored
-
- 06 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
* fix some formatting issues * address review comments * fix indent
-
- 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
-
- 25 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
-
- 28 Jan, 2019 1 commit
-
-
jimshepherd authored
-
- 26 Jan, 2019 1 commit
-
-
Hans Muller authored
-
- 01 Nov, 2018 1 commit
-
-
jslavitz authored
* Adds DropDownFormField Convenience Class
-
- 16 Oct, 2018 1 commit
-
-
escamoteur authored
If `items` or `onChanged` is null the button will be disabled, the down arrow will be grayed out, and the new `disabledHint` will be shown (if provided).
-