1. 20 Mar, 2018 1 commit
  2. 02 Mar, 2018 1 commit
  3. 05 Feb, 2018 1 commit
  4. 13 Oct, 2017 1 commit
    • Greg Spencer's avatar
      Modify the MaterialButton to expand when text is scaled. (#12431) · 25ac924e
      Greg Spencer authored
      This modifies the MaterialButton to expand vertically to fit the size of the contained child, no matter what the child widget is. It tries to be as close as possible to the minHeight constraint.
      
      Also updated some doc comments to have headers (extra blank line after first sentence), and to wrap at 80 cols.
      
      Addresses #12311
      25ac924e
  5. 27 May, 2017 1 commit
    • Ian Hickson's avatar
      Much work on the documentation (#10331) · f50caddf
      Ian Hickson authored
      Minor fixes throughout, e.g. removing trailing commas from the end of sample code expressions, changing headings to "sample code" more consistently, removing stale todos, fix typos in a private method name, minor grammar fixes, added some clarifications to CircularProgressIndicator, LinearProgressIndicator, CrossAxisAlignment, added some cross-references to various members, made it slightly clearer that layout algorithms are implementation details.
      
      Clarified "elevation" throughout.
      
      Added docs to InkResponse and InkWell.
      
      Added sample code for: SliverAppBar, Card, ListTile, EdgeInsets, Row, Column, CustomScrollView, ListView, SliverFixedExtentList, and SliverGrid.
      
      Fixes #10317.
      Fixes #10316.
      Fixes #10267. (sort of, see comment therein)
      Fixes #9331. (sort of, see comment therein)
      Fixes #9407. (sort of, see comment therein)
      f50caddf
  6. 03 May, 2017 2 commits
  7. 21 Apr, 2017 1 commit
  8. 23 Mar, 2017 1 commit
    • Luke's avatar
      Adds highlight + splash color properties to material button (#8643) · 1adfbd4e
      Luke authored
      * adds highlight + splash color properties to material button
      
      * add states to raised button + flat button
      
      * fixes an issue where the custom highlight would not be properly set
      
      * Add preliminary tests for theme highlight + splash and via theme
      
      * documentation changes. tweaks per code review feedback
      
      * comment out unused variable
      
      * remove unused import
      
      * documentation updates. removed commented code
      1adfbd4e
  9. 21 Mar, 2017 1 commit
  10. 04 Mar, 2017 1 commit
  11. 31 Jan, 2017 1 commit
  12. 20 Jan, 2017 1 commit
  13. 14 Jan, 2017 1 commit
    • Adam Barth's avatar
      Add SimpleDialogOption (#7494) · ad27fcd3
      Adam Barth authored
      The demo of the SimpleDialog had some useful code that should really be part of
      the framework. This patch extracts it into a SimpleDialogOption widget.
      
      Remove debugCheckHasScaffold because it is unused.
      
      Also, add tests for InkWell, SimpleDialog, and other widgets.
      ad27fcd3
  14. 19 Nov, 2016 1 commit
  15. 03 Nov, 2016 1 commit
  16. 23 Oct, 2016 1 commit
  17. 20 Oct, 2016 1 commit
  18. 16 Sep, 2016 1 commit
  19. 14 Jun, 2016 3 commits
  20. 12 Jun, 2016 1 commit
  21. 07 Jun, 2016 1 commit
  22. 25 May, 2016 1 commit
  23. 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
  24. 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
  25. 22 Apr, 2016 1 commit
  26. 07 Apr, 2016 1 commit
  27. 01 Apr, 2016 1 commit
  28. 31 Mar, 2016 1 commit
  29. 18 Mar, 2016 1 commit
  30. 14 Mar, 2016 1 commit
  31. 22 Feb, 2016 1 commit
    • Adam Barth's avatar
      Remove ThemeData.primarySwatch · 2c2fa238
      Adam Barth authored
      In the dark theme, there isn't really a primary swatch, so this API was
      a sandtrap. Instead, be explicit about the colors we need for various
      widgets in the theme.
      
      Fixes #1277
      2c2fa238
  32. 21 Feb, 2016 1 commit
  33. 14 Feb, 2016 1 commit
  34. 01 Dec, 2015 1 commit
  35. 18 Nov, 2015 1 commit
    • Hans Muller's avatar
      Update shadow rendering · d9153a13
      Hans Muller authored
      Shadows now render as three seprate MaskFilter.blur components per the most recent Material spec.
      
      The shadows Map was replaced by a similar Map called elevationToShadow with entries that match the 10 elevations specifed by http://www.google.com/design/spec/what-is-material/elevation-shadows.html.
      
      The "level" property (many classes) is now called "elevation", to match the Material spec.
      
      BoxShadow now includes a spreadRadius parameter - as in CSS box-shadow. Renamed the BoxShadow blur property to blurRadius to further align BoxShadow with CSS box-shadow.
      d9153a13
  36. 27 Oct, 2015 2 commits
    • Adam Barth's avatar
      Use VoidCallback in more places · e77cad81
      Adam Barth authored
      We still use special-purpose typedefs in the gesture code for symmetry with
      other gesture callbacks.
      
      Fixes #1827
      e77cad81
    • Hixie's avatar
      Use the presence of handler to determine 'enabled' · d11acc41
      Hixie authored
      Instread of an explicit 'enabled' bool, this uses the presence of the
      event handler to determine if a widget is enabled or not. This means
      that if you've not passed a handler, your widget will be disabled, which
      makes sense, since it wouldn't work anyway.
      
      Adds this feature to checkbox, and ports raised button, flat button, and
      radio buttons to this new model.
      
      Adds a checkbox to card_collection that can be disabled.
      
      Hide a (basically bogus) hint from the (soon to be disabled) strong hint
      mode in the analyzer that this reveals.
      d11acc41