1. 26 Jul, 2019 1 commit
  2. 28 Jun, 2019 1 commit
  3. 13 Jun, 2019 1 commit
  4. 24 Apr, 2019 2 commits
    • Anthony's avatar
      [Material] Adaptive Slider constructor (#30572) · 0572f158
      Anthony authored
      Adds an adaptive constructor for the Material Slider. An adaptive widget is one that renders itself as Material on Android, and Cupertino on iOS. This work is based off of a similar feature on Switches: bbb080b3#diff-fe2bb980c6207699cbf45538fe927afa.
      
      The motivation for this change is that we should provide adaptive constructors for as many widgets as necessary in the Material library. In Material, it is suggested that the slider is an iOS-style slider.
      0572f158
    • Anthony's avatar
      [Material] Update slider and slider theme with new sizes, shapes, and color... · 96f15c74
      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.
      96f15c74
  5. 20 Apr, 2019 1 commit
  6. 18 Apr, 2019 1 commit
    • Anthony's avatar
      [Material] Update slider and slider theme with new sizes, shapes, and color mappings (#30390) · b1039f0f
      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.
      b1039f0f
  7. 09 Mar, 2019 1 commit
  8. 07 Mar, 2019 1 commit
  9. 06 Mar, 2019 1 commit
  10. 26 Feb, 2019 1 commit
  11. 21 Feb, 2019 1 commit
  12. 01 Feb, 2019 1 commit
  13. 16 Oct, 2018 1 commit
  14. 12 Sep, 2018 1 commit
  15. 02 Aug, 2018 1 commit
  16. 27 Jul, 2018 1 commit
  17. 23 Jul, 2018 1 commit
  18. 16 Jul, 2018 2 commits
  19. 07 Jun, 2018 1 commit
  20. 05 Jun, 2018 1 commit
  21. 11 May, 2018 1 commit
    • Greg Spencer's avatar
      Add onChangeStart and onChangeEnd to slider. (#17298) · c2c64a5a
      Greg Spencer authored
      This fixes #17169 by adding onChangeStart and onChangeEnd to the slider. These will be called when the user starts a change, and when they end a change, regardless of whether that change is a tap or a drag.
      
      These differ from onChanged, in that they only report when the user starts and ends an interaction, not at every slight change.
      c2c64a5a
  22. 12 Apr, 2018 3 commits
  23. 25 Mar, 2018 1 commit
  24. 19 Mar, 2018 1 commit
  25. 13 Mar, 2018 1 commit
  26. 12 Mar, 2018 1 commit
  27. 09 Mar, 2018 1 commit
    • Greg Spencer's avatar
      Adding edge avoidance, painting tests, general cleanup (#15078) · 7fab7f6d
      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.
      7fab7f6d
  28. 01 Mar, 2018 1 commit
    • Greg Spencer's avatar
      Slider Visual Update (#14901) · 701eff4a
      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.
      701eff4a
  29. 01 Feb, 2018 1 commit
  30. 12 Oct, 2017 1 commit
  31. 31 Aug, 2017 1 commit
  32. 30 Aug, 2017 1 commit
  33. 24 Aug, 2017 1 commit
  34. 20 Jul, 2017 1 commit
    • Mary's avatar
      Add slider customizations (#11185) · bb15e346
      Mary authored
      * adds inactiveColor and showThumb to Slider
      
      * add customizable color and showThumb tests
      
      * remove showThumb, add negative tests
      bb15e346
  35. 17 May, 2017 2 commits