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. 09 Mar, 2019 1 commit
  3. 06 Mar, 2019 1 commit
    • Tong Mu's avatar
      Add minimum time gap requirement to double tap (#28749) · 2e1a8c74
      Tong Mu authored
      * First impl with StopwatchWithZone
      
      * Clean up params and name
      
      * Remove outdated TODO
      
      * Fix style
      
      * Fix a missing param. Add @require
      
      * Fix import meta
      
      * Fix code style
      
      * Add missing require. Fix comment style.
      
      * Fix code style
      
      * Fix code style
      2e1a8c74
  4. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  5. 27 Feb, 2019 1 commit
  6. 09 Jan, 2019 1 commit
  7. 08 Jan, 2019 1 commit
  8. 07 Jan, 2019 1 commit
  9. 16 Oct, 2018 1 commit
  10. 12 Sep, 2018 1 commit
  11. 07 Sep, 2018 1 commit
  12. 02 Aug, 2018 1 commit
  13. 27 Jul, 2018 1 commit
  14. 23 Jul, 2018 1 commit
  15. 16 Jul, 2018 2 commits
  16. 22 Jun, 2018 1 commit
  17. 18 Apr, 2018 1 commit
  18. 07 Feb, 2018 2 commits
  19. 01 Feb, 2018 1 commit
    • amirh's avatar
      Use RRects instead of Paths when possible in Material. (#14404) · d9ef7df9
      amirh authored
      0672055a changed the Material widget to
      always use Paths for representing the outline.
      These paths are later used for clipping and drawing a shadow.
      This changed introduced a performance regression, see:
      https://github.com/flutter/flutter/issues/14403
      
      We did not expect a path that is a rounded rectangle to be less
      performant than a rounded rectangle, as Skia should be able to tell the
      path is just a rounded rectangle.
      Until we find a solution for this regression, we keep using RRect when
      we can represent the shape with it.
      d9ef7df9
  20. 31 Jan, 2018 1 commit
    • amirh's avatar
      Support arbitrary shaped Material. (#14367) · 0672055a
      amirh authored
      For backward compatibility we keep supporting specifying the shape as a
      combination of MaterialType and borderRadius, and we just use that as a
      default when shapeBorder is null.
      
      To cleanup the implementation if shapeBorder was not specified we just
      translate the specified shape to a shapeBorder internally.
      I benchmarked paint, layout and hit testing, with the specialized shape
      clippers vs. the equivalent path clippers and did not see any
      significant performance difference.
      
      For testing, I extended the clippers/physicalShape matchers to match either the
      specialized shape or the equivalent shape.
      0672055a
  21. 03 Jan, 2018 1 commit
  22. 05 Sep, 2017 1 commit
  23. 01 Jul, 2017 1 commit
    • Ian Hickson's avatar
      Automatic silver keep alive (#11067) · 7ba1879b
      Ian Hickson authored
      * AutomaticKeepAlive
      
      A Widget that listens for notifications from widgets that don't want to die.
      
      * Automatically wrap SliverList and SliverGrid children in AutomaticKeepAlive widgets
      
      * Fixes for review comments
      7ba1879b
  24. 23 Jun, 2017 1 commit
  25. 04 Mar, 2017 1 commit
  26. 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