1. 20 Jan, 2018 1 commit
  2. 09 Jan, 2018 1 commit
  3. 21 Dec, 2017 1 commit
  4. 03 Nov, 2017 1 commit
  5. 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
  6. 05 Oct, 2017 1 commit
  7. 27 Sep, 2017 1 commit
  8. 22 Sep, 2017 1 commit
  9. 05 Jun, 2017 1 commit
  10. 21 May, 2017 1 commit
  11. 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
  12. 08 May, 2017 1 commit
  13. 05 May, 2017 1 commit
  14. 23 Apr, 2017 1 commit
  15. 19 Apr, 2017 1 commit
  16. 31 Mar, 2017 1 commit
  17. 26 Mar, 2017 1 commit
  18. 17 Mar, 2017 1 commit
  19. 14 Mar, 2017 1 commit
  20. 04 Mar, 2017 1 commit
  21. 21 Jan, 2017 1 commit
  22. 03 Jan, 2017 1 commit
  23. 02 Dec, 2016 1 commit
  24. 30 Nov, 2016 1 commit
  25. 10 Nov, 2016 1 commit
    • Chris Bracken's avatar
      Add accentTextTheme and accentIconTheme to ThemeData (#6808) · d0ff41ec
      Chris Bracken authored
      These define a TextTheme and IconTheme that contrast with the accent
      colour brightness. Also adjust default accentColorBrightness to match
      Material spec examples (dark text/icons on teal in Dark theme).
      
      Update material components to use accentTextTheme, accentIconTheme:
      * DatePicker selection
      * Floating action button icon
      * TimePicker selection
      * Slider label text
      d0ff41ec
  26. 08 Nov, 2016 1 commit
  27. 02 Nov, 2016 1 commit
  28. 29 Oct, 2016 1 commit
  29. 23 Oct, 2016 1 commit
  30. 19 Oct, 2016 1 commit
  31. 11 Oct, 2016 1 commit
  32. 26 Jul, 2016 1 commit
  33. 25 Jul, 2016 1 commit
  34. 23 Jun, 2016 1 commit
  35. 21 Jun, 2016 1 commit
    • Ian Hickson's avatar
      ImageIcon (#4649) · e502e9c8
      Ian Hickson authored
      Anywhere that accepted IconData now accepts either an Icon or an
      ImageIcon.
      
      Places that used to take an IconData in an `icon` argument, notably
      IconButton and DrawerItem, now take a Widget in that slot. You can wrap
      the value that used to be passed in in an Icon constructor to get the
      same result.
      
      Icon itself now takes the icon as a positional argument, for brevity.
      
      ThemeData now has an iconTheme as well as a primaryIconTheme, the same
      way it has had a textTheme and primaryTextTheme for a while.
      
      IconTheme.of() always returns a value now (though that value itself may
      have nulls in it). It defaults to the ThemeData.iconTheme.
      
      IconThemeData.fallback() is a new method that returns an icon theme data
      structure with all fields filled in.
      
      IconTheme.merge() is a new constructor that takes a context and creates
      a widget that mixes in the new values with the inherited values.
      
      Most places that introduced an IconTheme widget now use IconTheme.merge.
      
      IconThemeData.merge and IconThemeData.copyWith act in a way analogous to
      the similarly-named members of TextStyle.
      
      ImageIcon is introduced. It acts like Icon but takes an ImageProvider
      instead of an IconData.
      
      Also: Fix the analyzer to actually check the stocks app.
      e502e9c8
  36. 20 Jun, 2016 1 commit
  37. 09 Jun, 2016 1 commit
  38. 07 Jun, 2016 1 commit
  39. 04 May, 2016 1 commit
    • Adam Barth's avatar
      Add missing dartdocs from material.dart (#3709) · 7712e583
      Adam Barth authored
      Making progress towards document all public APIs in material.dart. We're still
      missing a few odds and ends (as well as missing docs in tabs.dart,
      tooltip.dart, and two_level_list.dart).
      7712e583
  40. 29 Apr, 2016 1 commit
    • Adam Barth's avatar
      Fix the padding and space for FlatButton and RaisedButton (#3650) · b2fa6c25
      Adam Barth authored
      Instead of incorporating the margin into the button, introduce a ButtonBar
      widget that supplies the proper spacing between the buttons. Also, make these
      buttons more configurable via ButtonTheme so that dialogs can change the
      minWidth and padding of the buttons as required by the spec.
      
      Fixes #1843
      Fixes #3184
      b2fa6c25