- 13 Jun, 2019 2 commits
-
-
Michael Goderbauer authored
-
Jonah Williams authored
-
- 10 Jun, 2019 1 commit
-
-
Anthony authored
The slider track shape for the onPrimaryColors constructor should be rounded, but it was accidentally changed to rectangular in #31681. This change restores the original behavior. This only affects sliders that are themed with SliderThemeData.onPrimaryColors().
-
- 06 Jun, 2019 1 commit
-
-
Anthony authored
Creates a Material Design range slider. The range slider is based off the updated slider, with the main difference being that it has 2 thumbs. By default, the thumbs cannot pass each other and both the thumb and the value indicator create a stroke when they are overlapping for better visibility.
-
- 29 Apr, 2019 1 commit
-
-
Dan Field authored
* Re-enable const
-
- 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.
-
- 09 Mar, 2019 1 commit
-
-
Alexandre Ardhuin 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
-
- 21 Feb, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 11 Feb, 2019 1 commit
-
-
Anthony authored
* Provide a simmplified API for skipping over slider thumb, overlay, and tick mark painting * doc fixes * comments * comments * comments * comments * comments * analyzer * comments
-
- 06 Feb, 2019 1 commit
-
-
Anthony authored
* Add size configs for round default shapes, and add tests, for all shapes that can be sized without creating new custom shape painters
-
- 01 Feb, 2019 1 commit
-
-
Anthony authored
Create a slider shape for custom track, tick mark, and overlay painting, for the material slider.
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 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
-
- 20 Jun, 2018 1 commit
-
-
Ian Hickson authored
The new matcher package deprecates isInstanceOf which seems eggregious.
-
- 19 Jun, 2018 1 commit
-
-
Greg Spencer authored
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 12 Apr, 2018 4 commits
-
-
Greg Spencer authored
This reverts commit 6494ab23f6a063c689441f55c3aba1b3c8e26b5b.
-
Greg Spencer authored
-
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.
-
Greg Spencer authored
The spec changed the size of the slider thumb, so this just effects that change.
-
- 19 Mar, 2018 1 commit
-
-
Greg Spencer authored
This adds a slider demo with a custom theme to the gallery. In the process of adding this, I decided to add a text theme to the SliderThemeData, since it's a pain to change the text style on the value indicator otherwise.
-
- 13 Mar, 2018 1 commit
-
-
Greg Spencer authored
During the review, we determined that it would be good for the value indicator to stretch when the text scale was smaller, and the shrink when it was larger, to keep the value visible over the finger at small sizes, and closer to the finger at large sizes. This implements that change.
-
- 09 Mar, 2018 1 commit
-
-
Greg Spencer authored
Fixed the real repaint problem the Slider had (missing addListener), and added tests for it. Added GlobalKey reparenting test. Added the ability for the value indicator to slide left and right to avoid falling off the edge of the screen. It only shifts as much as it can without deforming, but even at large text scales, that is enough to keep the text on the screen. Updated the formatting on theme_data.dart and others to use longer line length. Also, removed a color tween that faded the value indicator in as it scaled, since that wasn't to spec.
-
- 01 Mar, 2018 1 commit
-
-
Greg Spencer authored
This implements an update to the look of the Slider widget. Specifically, it does the following: * Adds the ability to customize the colors of all components of the slider * Adds the ability to customize the shape of the slider thumb and value indicator * Adds the ability to show the value indicator on continuous sliders * Updates the default value indicator to be a "paddle" shape with new animations. * Changes the tick marks to be visible all the time on discrete sliders * Fixes a memory leak of an animation controller. * Removes "thumbOpenAtMin" flag, which is no longer needed, and can be emulated by the custom thumb shape support. It was not widely used. * Adds tests for all of the new features.
-