1. 15 May, 2019 1 commit
    • Greg Spencer's avatar
      Implements focus handling and hover for Material buttons. (#31438) · bb3c6605
      Greg Spencer authored
      This implements focus and hover handling for Material buttons. It inserts Focus widgets into the tree in order to allow buttons to be focusable via keyboard traversal (a.k.a. TAB traversal), and Listener widgets into the InkWell to allow the detection of hover states for widgets.
      
      Addresses #11344, #1608, and #13264.
      bb3c6605
  2. 28 Feb, 2019 2 commits
    • Greg Spencer's avatar
      Fix spelling errors. (#28657) · ccdd5057
      Greg Spencer authored
      Fix the spelling errors in the dartdocs for the framework.
      
      There are no functionality changes here, just documentation fixes.
      ccdd5057
    • Shivam Bhasin's avatar
      Add Sample code for FlatButton #21136 (#27751) · 47c835fb
      Shivam Bhasin authored
      * Update flat_button.dart
      
      * Added smaple code for Flat Button
      
      * Update flat_button.dart
      
      * Revert "Update flat_button.dart"
      
      This reverts commit c8f00dff39e18b267295890bd0c5a86979b58c24.
      
      * Revert "Added smaple code for Flat Button"
      
      This reverts commit adc4234bc7956293a5b56f39701c6967fe3e919a.
      
      * Update flat_button.dart
      
      * Update flat_button.dart
      
      * Update flat_button.dart
      
      * remove white spaces
      
      * remove white spaces
      
      * add two different samples
      
      * Update flat_button.dart
      47c835fb
  3. 01 Feb, 2019 1 commit
  4. 15 Jan, 2019 1 commit
    • Ian Hickson's avatar
      Support setting the elevation of disabled floating action buttons (#24728) · 29928a46
      Ian Hickson authored
      Previously, a disabled floating action button always had zero
      elevation, which looks dumb.
      
      This also fixes the issue whereby highlightElevation was not honoured
      on floating action buttons.
      
      This also fixes an issue I found during testing whereby setState was
      being called during build when onHighlightChanged fired due to
      onPressed becoming null while a gesture is ongoing (which triggers an
      onTapCancel synchronously during build).
      29928a46
  5. 16 Oct, 2018 1 commit
  6. 12 Oct, 2018 2 commits
    • matthew-carroll's avatar
      Revert "Reversion for roll (#22984)" (#23029) · 04a26778
      matthew-carroll authored
      This reverts commit 80f80ab0.
      04a26778
    • matthew-carroll's avatar
      Reversion for roll (#22984) · 80f80ab0
      matthew-carroll authored
      For G3 Roll:
      
      * Revert "MaterialButton must honor its minWidth and height parameters (#22919)"
      
      This reverts commit a0233233.
      
      * Revert "Update uses of ButtonTheme.bar: pass along the current Theme's colorScheme (#22827)"
      
      This reverts commit 655bf6a2.
      
      * Revert "ButtonTheme.of().colorScheme defers to Theme (#22880)"
      
      This reverts commit a590940e.
      
      * Revert "Bring TextTheme into alignment with the current Material spec (#22330)"
      
      This reverts commit 8bfb4b3e.
      
      * Revert "Added ColorScheme, updated ThemeData, ButtonTheme, material buttons (#22013)"
      
      This reverts commit eea3465a.
      
      * Manual adjustments to fix reversion issues.
      80f80ab0
  7. 08 Oct, 2018 1 commit
  8. 02 Oct, 2018 1 commit
  9. 12 Sep, 2018 1 commit
  10. 24 Aug, 2018 1 commit
  11. 09 Jul, 2018 1 commit
  12. 03 Jul, 2018 2 commits
  13. 20 Mar, 2018 1 commit
  14. 02 Mar, 2018 1 commit
  15. 05 Feb, 2018 1 commit
  16. 11 Jan, 2018 1 commit
    • Ian Hickson's avatar
      The Ink widget (#13900) · 09270dcb
      Ian Hickson authored
      This provides a way to draw colors, images, and general decorations on Material widgets, without interfering with InkWells that are further descendants of the widget.
      
      This thus provides a cleaner way to solve the issue of FlatButtons and InkWells not working when placed over Image widgets than the old hack of introducing a transparency Material.
      
      Fixes #3782.
      
      Also, some fixes to documentation, and remove a redundant property on the Image widget.
      09270dcb
  17. 29 Nov, 2017 1 commit
  18. 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
  19. 08 Aug, 2017 1 commit
  20. 03 May, 2017 1 commit
  21. 23 Apr, 2017 1 commit
  22. 31 Mar, 2017 1 commit
  23. 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
  24. 21 Mar, 2017 1 commit
  25. 30 Jan, 2017 1 commit
  26. 20 Jan, 2017 1 commit
  27. 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
  28. 19 Nov, 2016 1 commit
  29. 23 Oct, 2016 1 commit
  30. 20 Oct, 2016 1 commit
  31. 16 Sep, 2016 1 commit
  32. 12 Jun, 2016 1 commit
  33. 07 Jun, 2016 1 commit
  34. 25 May, 2016 1 commit
  35. 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
  36. 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
  37. 07 Apr, 2016 1 commit