1. 09 Jul, 2019 1 commit
  2. 15 Jun, 2019 1 commit
    • Anthony's avatar
      [Material] Fix TextDirection and selected thumb for RangeSliderThumbShape and... · 8b2ccca3
      Anthony authored
      [Material] Fix TextDirection and selected thumb for RangeSliderThumbShape and RangeSliderValueIndicatorShape (#34501)
      
      Expose the RangeSlider's TextDirection in the RangeSliderThumbShape's abstract paint() method, and ensure that start and end thumb are non-null when being passed to the thumb and value indicator shape paint methods.
      8b2ccca3
  3. 13 Jun, 2019 2 commits
  4. 10 Jun, 2019 1 commit
    • Anthony's avatar
      [Material] Fix slider track shape to rounded (#34178) · 0bbac725
      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().
      0bbac725
  5. 06 Jun, 2019 1 commit
    • Anthony's avatar
      [Material] Create a themable Range Slider (continuous and discrete) (#31681) · e1d0ded9
      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.
      e1d0ded9
  6. 05 Jun, 2019 1 commit
  7. 27 May, 2019 1 commit
  8. 24 Apr, 2019 1 commit
    • 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
  9. 20 Apr, 2019 1 commit
  10. 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
  11. 20 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      some spaces formatting (#29452) · a6af4228
      Alexandre Ardhuin authored
      * some space formattings
      
      * always use blocks in if-else if a block is used
      
      * format spaces in for and while
      
      * allow multiline if conditions
      
      * fix missing space
      a6af4228
  12. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      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
      387f8854
  13. 20 Feb, 2019 1 commit
  14. 11 Feb, 2019 1 commit
  15. 06 Feb, 2019 1 commit
  16. 05 Feb, 2019 1 commit
  17. 01 Feb, 2019 1 commit
  18. 29 Jan, 2019 1 commit
  19. 08 Nov, 2018 1 commit
  20. 15 Oct, 2018 1 commit
    • Gary Qian's avatar
      Add support for text shadows and roll engine (26 commits) (#22449) · bdc3dda5
      Gary Qian authored
      * Add support for shadows in text.
      
      * Use dart:ui Shadow as base class for Shadows
      
      * Update lerp definition
      
      * Roll engine 3ffa3629523..84fe4a9f7e24e4 - Text Shadows and update goldens for skia roll.
      
      git log 50c2e69daff4e207c54e463d2304139985c7511c..32f417db0d566d354605305cb29c251276fa65ee --oneline --no-merges
      32f417db0 Roll tonic to 077be256142ede39a271385907faadf4fcc62a4d. (#6541)
      4ee77256c Revert "Roll Dart to 1f4dfce179c8f05c9e48759300a15e671b88cc10 (#6515)" (#6537)
      964acafeb Roll src/third_party/skia 646d917d3c71..c6a17104ad68 (1 commits) (#6536)
      d4bae4ca4 Roll src/third_party/skia 2b2c00f6ec36..646d917d3c71 (1 commits) (#6535)
      ff93ccf47 Roll src/third_party/skia 681692726fc0..2b2c00f6ec36 (1 commits) (#6534)
      a4161c895 Roll src/third_party/skia 23775a2e9736..681692726fc0 (1 commits) (#6532)
      116072e46 Roll src/third_party/skia 7435f2553f53..23775a2e9736 (1 commits) (#6531)
      ef0b0f6e9 Roll src/third_party/skia bc7a51e79c5b..7435f2553f53 (1 commits) (#6530)
      f46b7b971 Roll src/third_party/skia b28db529c866..bc7a51e79c5b (1 commits) (#6529)
      9033c3902 Roll src/third_party/skia 7e67041a1428..b28db529c866 (1 commits) (#6528)
      e6887a412 Add missing imports for unicode/utf16.h (#6524)
      1242f6dfe Roll src/third_party/skia d38382d060ca..7e67041a1428 (2 commits) (#6527)
      a1bbea77c Add a no-op platform view layer. (#6505)
      2bb3afad8 Roll src/third_party/skia 21bd60daa3f3..d38382d060ca (10 commits) (#6526)
      75e875240 Fix the Mac embedder build (#6525)
      436f9707b Add version check for dismissable (#6522)
      7767c785b Provide a default GL function resolver in the embedder (#6523)
      32841dd89 Case-insensitive matching of family names for custom fonts (#6519)
      a9076c7e6 Roll src/third_party/skia 419709dbb167..21bd60daa3f3 (11 commits) (#6520)
      f2e7441b5 An API for loading fonts from a buffer provided by the application (#6508)
      05aac0f27 fix ResourceExtractor npe. (#6461)
      cf5a2a145 Roll src/third_party/skia b27a9cf2f4a8..419709dbb167 (16 commits) (#6517)
      84fe4a9f7 Re-revert invalid line height tests (#6516)
      5f529566c Add support for text shadows (#6385)
      e44c10c96 Reland "Share engine layers with the framework" (#6412) (#6468)
      ba0449971 Roll Dart to 1f4dfce179c8f05c9e48759300a15e671b88cc10 (#6515)
      bdc3dda5
  21. 05 Oct, 2018 1 commit
  22. 26 Sep, 2018 1 commit
  23. 12 Sep, 2018 1 commit
  24. 07 Sep, 2018 1 commit
  25. 02 Aug, 2018 1 commit
  26. 27 Jul, 2018 1 commit
  27. 23 Jul, 2018 1 commit
  28. 16 Jul, 2018 2 commits
  29. 12 Apr, 2018 3 commits
  30. 21 Mar, 2018 1 commit
  31. 20 Mar, 2018 1 commit
  32. 19 Mar, 2018 2 commits
  33. 13 Mar, 2018 2 commits
    • Greg Spencer's avatar
      Add slider minimum interaction time (#15358) · d28e9aa5
      Greg Spencer authored
      This change makes the discrete slider show the value indicator for a minimum amount of time for any interaction (tap, drag).
      d28e9aa5
    • Greg Spencer's avatar
      Add neck stretch (#15445) · fc96326b
      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.
      fc96326b
  34. 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