1. 23 May, 2018 1 commit
  2. 16 May, 2018 1 commit
  3. 10 May, 2018 2 commits
    • Greg Spencer's avatar
      Fix handling of null body2 text style for chip and slider (#17311) · a365c41c
      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
      a365c41c
    • Jonah Williams's avatar
  4. 01 May, 2018 1 commit
  5. 19 Apr, 2018 1 commit
  6. 12 Apr, 2018 1 commit
    • Greg Spencer's avatar
      Adding ChipTheme, ChipThemeData, and some more tests. (#16447) · 4dbbf678
      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.
      4dbbf678
  7. 20 Mar, 2018 1 commit
  8. 19 Mar, 2018 1 commit
  9. 14 Mar, 2018 2 commits
  10. 11 Mar, 2018 1 commit
  11. 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
  12. 07 Mar, 2018 2 commits
    • Josh Soref's avatar
      Spelling (#15229) · c5a5945e
      Josh Soref authored
      * spelling: accommodate
      
      * spelling: allotted
      
      * spelling: anonymous
      
      * spelling: artificial
      
      * spelling: associated
      
      * spelling: asset
      
      * spelling: button
      
      * spelling: canvas
      
      * spelling: compatibility
      
      * spelling: coverage
      
      * spelling: condition
      
      * spelling: decoration
      
      * spelling: deferring
      
      * spelling: diameter
      
      * spelling: direction
      
      * spelling: displacement
      
      * spelling: dropdown
      
      * spelling: needing
      
      * spelling: environment
      
      * spelling: exited
      
      * spelling: expansion
      
      * spelling: explore
      
      * spelling: families
      
      * spelling: horizontal
      
      * spelling: increment
      
      * spelling: indices
      
      * spelling: internationalization
      
      * spelling: labrador
      
      * spelling: localizations
      
      * spelling: midflight
      
      * spelling: milliseconds
      
      * spelling: minimum
      
      * spelling: multiple
      
      * spelling: multiplication
      
      * spelling: navigator
      
      * spelling: overridden
      
      * spelling: package
      
      * spelling: performance
      
      * spelling: platform
      
      * spelling: porsche
      
      * spelling: position
      
      * spelling: preceded
      
      * spelling: precede
      
      * spelling: precedence
      
      * spelling: print
      
      * spelling: property
      
      * spelling: readily
      
      * spelling: reproducibility
      
      * spelling: rounded
      
      * spelling: scroll
      
      * spelling: separate
      
      * spelling: separator
      
      * spelling: services
      
      * spelling: specific
      
      * spelling: specify
      
      * spelling: synchronously
      
      * spelling: through
      
      * spelling: timeout
      
      * spelling: triangle
      
      * spelling: trivial
      
      * spelling: unusual
      
      * spelling: then
      
      * spelling: vertically
      
      * spelling: visible
      
      * spelling: visited
      
      * spelling: voice
      c5a5945e
    • Hans Muller's avatar
  13. 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
  14. 26 Feb, 2018 1 commit
  15. 15 Feb, 2018 1 commit
  16. 05 Feb, 2018 1 commit
  17. 20 Jan, 2018 1 commit
  18. 09 Jan, 2018 1 commit
  19. 21 Dec, 2017 1 commit
  20. 03 Nov, 2017 1 commit
  21. 21 Oct, 2017 1 commit
    • Yegor's avatar
      Theme.of provides all TextStyle properties (#12552) · 67d16cd5
      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
      67d16cd5
  22. 05 Oct, 2017 1 commit
  23. 27 Sep, 2017 1 commit
  24. 22 Sep, 2017 1 commit
  25. 05 Jun, 2017 1 commit
  26. 21 May, 2017 1 commit
  27. 14 May, 2017 1 commit
    • Adam Barth's avatar
      Estimate the brightness of the primary color (#10071) · 49b183c5
      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
      49b183c5
  28. 08 May, 2017 1 commit
  29. 05 May, 2017 1 commit
  30. 23 Apr, 2017 1 commit
  31. 19 Apr, 2017 1 commit
  32. 31 Mar, 2017 1 commit
  33. 26 Mar, 2017 1 commit
  34. 17 Mar, 2017 1 commit
  35. 14 Mar, 2017 1 commit
  36. 04 Mar, 2017 1 commit
  37. 21 Jan, 2017 1 commit