1. 28 May, 2020 1 commit
  2. 08 Jan, 2020 1 commit
  3. 04 Dec, 2019 1 commit
  4. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  5. 30 Oct, 2019 1 commit
  6. 15 Oct, 2019 1 commit
  7. 23 Aug, 2019 1 commit
    • Greg Spencer's avatar
      Normalize assert checking of clipBehavior (#38568) · 365f577c
      Greg Spencer authored
      I noticed that we were pretty inconsistent with the way that we checked the value of clipBehavior in the framework, so I normalized the usages and updated docs where necessary.
      
      This is a breaking change if you used to pass null explicitly to FlatButton, OutlineButton or RaisedButton constructors, expecting to get Clip.none. It will now assert if you do that. Existing implementations that pass null implicitly by not specifying clipBehavior won't need to change their call sites. It always implicitly defaulted to Clip.none before, and it will continue to do that, it's only places where it was explicitly set to null in order to get the implicit default that it will fail.
      365f577c
  8. 15 Aug, 2019 1 commit
  9. 09 Aug, 2019 1 commit
  10. 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
  11. 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
  12. 01 Feb, 2019 1 commit
  13. 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
  14. 16 Oct, 2018 1 commit
  15. 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
  16. 08 Oct, 2018 1 commit
  17. 02 Oct, 2018 1 commit
  18. 12 Sep, 2018 1 commit
  19. 24 Aug, 2018 1 commit
  20. 09 Jul, 2018 1 commit
  21. 03 Jul, 2018 2 commits
  22. 20 Mar, 2018 1 commit
  23. 02 Mar, 2018 1 commit
  24. 05 Feb, 2018 1 commit
  25. 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
  26. 29 Nov, 2017 1 commit
  27. 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
  28. 08 Aug, 2017 1 commit
  29. 03 May, 2017 1 commit
  30. 23 Apr, 2017 1 commit
  31. 31 Mar, 2017 1 commit
  32. 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
  33. 21 Mar, 2017 1 commit
  34. 30 Jan, 2017 1 commit
  35. 20 Jan, 2017 1 commit
  36. 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
  37. 19 Nov, 2016 1 commit