1. 02 Aug, 2018 1 commit
  2. 27 Jul, 2018 1 commit
  3. 23 Jul, 2018 2 commits
    • sandrasandeep's avatar
      Add cursorWidth and cursorRadius to TextField (Material) cursor (#19317) · 834fb7b9
      sandrasandeep authored
      * fixed segmented control golden test
      
      * fixed segmented control golden test
      
      * made the comments more explanatory
      
      * changed comment, wrapped tests with if statements so they only run on MacOS
      
      * changed formatting
      
      * added width and radius fields to TextField; to do: tests and Material defaults
      
      * weak warnings
      
      * added tests
      
      * added default cursor width; changed default EditableText width
      
      * only run golden file tests on linux
      
      * changed goldens version
      
      * actually changed goldens.version
      
      * style changes
      
      * small fixes
      
      * added default material cursor color
      
      * changed goldens.version
      
      * changed goldens version again
      
      * changed goldens.version again (3)
      
      * added todo
      
      * deleted whitespace
      834fb7b9
    • Alexandre Ardhuin's avatar
      re-enable lint unnecessary_const (#19592) · 27018359
      Alexandre Ardhuin authored
      * re-enable lint unnecessary_const
      
      * remove trailling whitespaces
      
      * remove unnecessary const (after merge)
      27018359
  4. 16 Jul, 2018 2 commits
  5. 09 Jul, 2018 1 commit
  6. 03 Jul, 2018 2 commits
  7. 23 May, 2018 1 commit
  8. 16 May, 2018 1 commit
  9. 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
  10. 01 May, 2018 1 commit
  11. 19 Apr, 2018 1 commit
  12. 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
  13. 20 Mar, 2018 1 commit
  14. 19 Mar, 2018 1 commit
  15. 14 Mar, 2018 2 commits
  16. 11 Mar, 2018 1 commit
  17. 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
  18. 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
  19. 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
  20. 26 Feb, 2018 1 commit
  21. 15 Feb, 2018 1 commit
  22. 05 Feb, 2018 1 commit
  23. 20 Jan, 2018 1 commit
  24. 09 Jan, 2018 1 commit
  25. 21 Dec, 2017 1 commit
  26. 03 Nov, 2017 1 commit
  27. 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
  28. 05 Oct, 2017 1 commit
  29. 27 Sep, 2017 1 commit
  30. 22 Sep, 2017 1 commit
  31. 05 Jun, 2017 1 commit
  32. 21 May, 2017 1 commit
  33. 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
  34. 08 May, 2017 1 commit