- 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
-
- 13 Aug, 2019 1 commit
-
-
MH Johnson authored
-
- 03 Aug, 2019 1 commit
-
-
MH Johnson authored
* Chip keeps track of state, resolves text color
-
- 13 Jun, 2019 1 commit
-
-
Jonah Williams 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
-
- 09 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 07 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
* fix indentof statements in BlockFunctionBody * fix indentof statements in BlockFunctionBody in tests
-
- 01 Mar, 2019 2 commits
-
-
ocavue authored
-
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
-
-
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
-
- 01 Feb, 2019 2 commits
- 08 Jan, 2019 1 commit
-
-
Jonah Williams authored
Adds avatarBorder property to SelectableChipAttributes and uses the outer path to draw the darkened layer.
-
- 16 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
* Future<void> main * Future<void>.delayed * prefer_void_to_Null * address review comments
-
- 11 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
* prefer_void_to_null in flutter_test * fix CI
-
- 03 Oct, 2018 1 commit
-
-
jslavitz authored
* choice chip fix * added test
-
- 28 Sep, 2018 1 commit
-
-
jslavitz authored
* Make Chip press elevation customizable.
-
- 25 Sep, 2018 3 commits
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * 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
-
- 23 Jul, 2018 1 commit
-
-
Alexandre Ardhuin authored
* re-enable lint unnecessary_const * remove trailling whitespaces * remove unnecessary const (after merge)
-
- 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
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 31 May, 2018 1 commit
-
-
Ian Hickson authored
-
- 18 May, 2018 1 commit
-
-
Greg Spencer authored
This optimizes the AnimatedSwitcher so that it tags the right widget with its keyed subtree, and avoids rebuilding the transition unnecessarily. This significantly improves the performance of Chips (which uses AnimatedSwitcher to swap out it's avatar and delete icon children).
-
- 12 Apr, 2018 1 commit
-
-
Greg Spencer authored
This converts the chips to use a ChipThemeData to get most of their customization values from (if not overridden by specific arguments to the chip constructors), and to have the base ThemeData contain one of these. It also adds the ChipTheme widget that will allow overriding the theme for a particular subtree in the widget hierarchy. Added tests for both, and just more tests in general for the Chips.
-
- 10 Apr, 2018 1 commit
-
-
Greg Spencer authored
There was a bug in the size calculation for the height of the chip label, where it would force the label to be larger than it wanted to be, causing text to not be vertically centered.
-
- 05 Apr, 2018 1 commit
-
-
Greg Spencer authored
This renames the chip's border attribute to 'shape' so that it is consistent with the other places where we supply a ShapeBorder. This is a breaking change, but a very small one: the border attribute was introduced only a few months ago, and is not widely used.
-
- 04 Apr, 2018 1 commit
-
-
Greg Spencer authored
This implements various different chip types: There are now the InputChip, ChoiceChip, FilterChip, ActionChip, and the original vanilla Chip, all of which have different uses. They can be customized in a number of ways. See their docs for more information. Also fixes #16083
-
- 22 Mar, 2018 1 commit
-
-
Greg Spencer authored
This updates the visual look of the Chip class, so that it scales properly in the face of text scale (and label widget size) changes, and bases its height off of the label widget's height, constraining the other widgets it contains to be the same height. To do this properly, I had to implement a custom render object that will measure the height of the label, so the guts of this class are basically rewritten. In addition, to allow the circle avatar to increase in size when the chip does, I added minRadius and maxRadius arguments to it, and I updated its color handling to use the light/dark primary colors of the theme in a smart way instead of just using black and white. Updated and added tests.
-
- 09 Mar, 2018 1 commit
-
-
Alexandre Ardhuin authored
-