- 04 Oct, 2019 1 commit
-
-
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.
-
- 24 Sep, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 17 Sep, 2019 1 commit
-
-
Anthony authored
Add the option to configure a chip check mark color
-
- 16 Sep, 2019 1 commit
-
-
MH Johnson authored
* Create 'center' template
-
- 03 Sep, 2019 1 commit
-
-
Greg Spencer authored
This changes the behavior of text fields, Material buttons, and Chips so that if they are disabled they lose focus. Before this change, it was possible to disable a control and then use focus traversal to reach it anyhow, and in the case of text fields, enter text into a disabled field. Fixes #33985
-
- 23 Aug, 2019 1 commit
-
-
Greg Spencer authored
I noticed that we were pretty inconsistent with the way that we checked the value of clipBehavior in the framework, so I normalized the usages and updated docs where necessary. This is a breaking change if you used to pass null explicitly to FlatButton, OutlineButton or RaisedButton constructors, expecting to get Clip.none. It will now assert if you do that. Existing implementations that pass null implicitly by not specifying clipBehavior won't need to change their call sites. It always implicitly defaulted to Clip.none before, and it will continue to do that, it's only places where it was explicitly set to null in order to get the implicit default that it will fail.
-
- 15 Aug, 2019 1 commit
-
-
Greg Spencer authored
Add an autofocus parameter to widgets which use Focus widget internally, and update related docs. This will allow developers to request that a particular widget be automatically focused when shown.
-
- 13 Aug, 2019 1 commit
-
-
MH Johnson authored
-
- 08 Aug, 2019 1 commit
-
-
Justin McCandless authored
(Breaking Change) Move some hardcoded pixel values to reusable constants.
-
- 03 Aug, 2019 1 commit
-
-
MH Johnson authored
* Chip keeps track of state, resolves text color
-
- 25 Jun, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 09 May, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 01 May, 2019 1 commit
-
-
Shi-Hao Hong authored
* Add horizontal padding and properly constrain chip label calculations * Added regression test for avatar, label and delete icon constraint
-
- 16 Mar, 2019 1 commit
-
-
liyuqian authored
Fixes https://github.com/flutter/flutter/issues/21232
-
- 01 Mar, 2019 1 commit
-
-
ocavue authored
-
- 28 Feb, 2019 1 commit
-
-
Greg Spencer authored
Fix the spelling errors in the dartdocs for the framework. There are no functionality changes here, just documentation fixes.
-
- 22 Feb, 2019 1 commit
-
-
rami-a authored
[Material] Add ability to set shadow color and selected shadow color for chips and for chip themes (#28163) * Add ability to set shadow color for chips and for chip themes * Add selected shadow color as a property as well * Update phrasing of documentation * Address PR feedback
-
- 21 Feb, 2019 1 commit
-
-
Alexandre Ardhuin 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
-
- 08 Feb, 2019 1 commit
-
-
Greg Spencer authored
This adds support for logical and physical key information inside of RawKeyEvent. This allows developers to differentiate keys in a platform-agnostic way. They are able to tell the physical location of a key (PhysicalKeyboardKey) and a logical meaning of the key (LogicalKeyboardKey), as well as get notified of the character generated by the keypress. All of which is useful for handling keyboard shortcuts. This PR builds on the previous PR (#27620) which generated the key code mappings and definitions.
-
- 01 Feb, 2019 3 commits
- 29 Jan, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 08 Jan, 2019 1 commit
-
-
Jonah Williams authored
Adds avatarBorder property to SelectableChipAttributes and uses the outer path to draw the darkened layer.
-
- 18 Dec, 2018 2 commits
-
-
Alexandre Ardhuin authored
-
Michael Goderbauer authored
-
- 08 Nov, 2018 1 commit
-
-
Greg Spencer authored
This converts existing ## Sample code samples to {@tool sample}...{@end-tool} form. Also: 1. Fixed a minor bug in analyze-sample-code.dart 2. Made the snippet tool only insert descriptions if the description is non-empty. 3. Moved the Card diagram to before the code sample.
-
- 23 Oct, 2018 1 commit
-
-
Greg Spencer authored
This creates a custom dartdoc tool that will generate snippet blocks in our API docs that allow the user to copy easily to the clipboard, and will also embed the snippet code into a template to show it in a larger context with an app. This PR adds the snippet tool, a template, and a couple of HTML skeleton files, one for snippets that are designed to be in an application setting, and one where it simply puts a nice container around existing snippets, making them easier to copy to the clipboard.
-
- 03 Oct, 2018 1 commit
-
-
jslavitz authored
* choice chip fix * added test
-
- 28 Sep, 2018 1 commit
-
-
jslavitz authored
* Make Chip press elevation customizable.
-
- 23 Sep, 2018 1 commit
-
-
Ian Hickson authored
-
- 13 Sep, 2018 1 commit
-
-
Jonah Williams authored
-
- 12 Sep, 2018 2 commits
-
-
Ben Hagen authored
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 07 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* lint unnecessary_new on samples * fix tests
-
- 31 Aug, 2018 1 commit
-
-
liyuqian authored
This fixes https://github.com/flutter/flutter/issues/20746
-
- 02 Aug, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Jul, 2018 1 commit
-
-
Todd Volkert authored
It was causing problems rolling Flutter into Fuchsia
-