- 30 Sep, 2019 1 commit
-
-
Erick Ghaumez authored
* set the copyWith toggleButtonsTheme argument type to ToggleButtonsThemeData * add a ThemeData.copyWith test
-
- 06 Aug, 2019 1 commit
-
-
Darren Austin authored
Provide a new ThemeData.from() method that constructs a Theme based off the colors in a given ColorScheme.
-
- 24 Apr, 2019 1 commit
-
-
Anthony authored
[Material] Update slider and slider theme with new sizes, shapes, and color mappings (2nd attempt) (#31564) #30390 was rolled back. This PR will re-roll it forward. This PR makes a number of changes to the visual appearance of material sliders: Sizes/Shapes ** enabled thumb radius from 6 to 10 ** disabled thumb radius from 4 to 10 with no gap ** default track shape is a rounded rect rather than a rect ** Colors ** all of the colors now use the new color scheme ** overlay opacity has been reduce from 16% to 12% ** value indicator text color now respects the indicator it is on by using onPrimary ** disabledThumb color no respects the surface it is on by using onSurface The slider theme is also now constructed consistently with other theme objects within the ThemeData. By default, all values are null, and have default values that are resolved in the slider itself, rather than in the slider theme.
-
- 20 Apr, 2019 1 commit
-
-
MH Johnson authored
Revert "[Material] Update slider and slider theme with new sizes, shapes, and color mappings (#30390)" (#31339) This reverts commit b1039f0f. (This is a temporary revert while some of our customers deal with the breaking changes involved.)
-
- 18 Apr, 2019 1 commit
-
-
Anthony authored
This PR makes a number of changes to the visual appearance of material sliders: Sizes/Shapes ** enabled thumb radius from 6 to 10 ** disabled thumb radius from 4 to 10 with no gap ** default track shape is a rounded rect rather than a rect ** Colors ** all of the colors now use the new color scheme ** overlay opacity has been reduce from 16% to 12% ** value indicator text color now respects the indicator it is on by using onPrimary ** disabledThumb color no respects the surface it is on by using onSurface The slider theme is also now constructed consistently with other theme objects within the ThemeData. By default, all values are null, and have default values that are resolved in the slider itself, rather than in the slider theme.
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 07 Sep, 2018 1 commit
-
-
CaiJingLong authored
-
- 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
-
- 10 May, 2018 1 commit
-
-
Greg Spencer authored
Before this change, if you specified a non-null textTheme, but the theme you specified didn't have a body2 defined, then creating a ChipTheme would assert (which means creating a ThemeData would fail). This adds handling for this corner case to default to reasonable values in that case. The slider had the same problem, but for accentTextTheme, so I fixed that too. While I had the patient open, Hans and I noticed that TextTheme.merge wasn't doing the right thing in the case where some members were null either, so I fixed that, and added some examples, since merge/copyWith are common operations that are not always well understood. Fixes #17251
-
- 21 Oct, 2017 1 commit
-
-
Yegor authored
* Theme provides all TextStyle properties * match field declaration order in the test * Theme.of returns text style with inherit == false * change TextStyle.inherit logic; docs * add TextStyle.debugLabel * address comments * add debug labels to Typography text styles
-
- 05 Jun, 2017 1 commit
-
-
Ian Hickson authored
-
- 14 May, 2017 1 commit
-
-
Adam Barth authored
If the caller doesn't explicitly give the brightness of the primary color, we now estimate it using an algorithm from the Web Content Accessibility Guidelines. Also, this patch contains a function that converts RGB colors to HSVColors. I was originally going to use that, but the WCAG algorithm ended up seeming like a better choice. The patch still includes this function because it's generally useful. Fixes #5718
-
- 26 Mar, 2017 1 commit
-
-
Adam Barth authored
Otherwise it's somewhat verbose to configure all the text themes.
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 20 Jan, 2017 1 commit
-
-
Adam Barth authored
Also, fix some minor bugs with SynchronousFuture.
-
- 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
-
- 02 Nov, 2016 1 commit
-
-
Chris Bracken authored
On Android and Fuchsia, default to Roboto. On iOS, use San Francisco.
-