1. 19 Jun, 2019 1 commit
  2. 18 Jun, 2019 1 commit
  3. 13 Jun, 2019 1 commit
  4. 10 Jun, 2019 2 commits
  5. 04 Jun, 2019 3 commits
  6. 03 Jun, 2019 4 commits
  7. 30 May, 2019 2 commits
  8. 28 May, 2019 1 commit
  9. 23 May, 2019 1 commit
  10. 16 May, 2019 1 commit
  11. 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
  12. 14 May, 2019 3 commits
  13. 13 May, 2019 1 commit
    • Greg Spencer's avatar
      Fix transforms for things with RenderPointerListeners (#32535) · a5053bfb
      Greg Spencer authored
      This fixes #32525, because it now marks the compositing bits as needing to be recalculated if the mouse tracker changes its idea of whether or not a mouse is attached.
      
      This bug occurred because the test framework was leaking state from one test to the next (the state about whether a mouse pointer was active), and so even though there was a "passing" test when run in order with the other tests in the file, when the test was run individually (or first), it would have failed and caught the bug.
      
      This adds an assert to make sure that after each test there are no simulated mouse pointers connected, and now calls removePointer in all of the tests where this was a problem.
      a5053bfb
  14. 10 May, 2019 1 commit
  15. 09 May, 2019 1 commit
  16. 07 May, 2019 1 commit
  17. 06 May, 2019 1 commit
  18. 01 May, 2019 1 commit
  19. 30 Apr, 2019 1 commit
  20. 29 Apr, 2019 2 commits
  21. 25 Apr, 2019 2 commits
  22. 23 Apr, 2019 1 commit
  23. 22 Apr, 2019 2 commits
    • Greg Spencer's avatar
      Implement focus traversal for desktop platforms, shoehorn edition. (#30040) · 4218c0bc
      Greg Spencer authored
      Implements focus traversal for desktop platforms, including re-implementing the existing focus manager and focus tree.
      
      This implements a Focus widget that can be put into a widget tree to allow input focus to be given to a particular part of a widget tree.
      
      It incorporates with the existing FocusScope and FocusNode infrastructure, and has minimal breakage to the API, although FocusScope.reparentIfNeeded is removed, replaced by a call to FocusAttachment.reparent(), so this is a breaking change:
      
      FocusScopeNodes must now be attached to the focus tree using FocusScopeNode.attach, which takes a context and an optional onKey callback, and returns a FocusAttachment that should be kept by the widget that hosts the FocusScopeNode. This is necessary because of the need to make sure that the focus tree reflects the widget hierarchy.
      
      Callers that used to call FocusScope(context).reparentIfNeeded in their build method will call reparent  on a FocusAttachment instead, which they will obtain by calling FocusScopeNode.attach in their initState method. Widgets that own FocusNodes will need to call dispose on the focus node in their dispose method.
      
      Addresses #11344, #1608, #13264, and #1678
      Fixes #30084
      Fixes #26704
      4218c0bc
    • Justin McCandless's avatar
      Text field scroll physics (#31088) · 6e1b143f
      Justin McCandless authored
      TextField and CupertinoTextField can now specify scrollPhysics. Cupertino defaults to bouncing now.
      6e1b143f
  24. 10 Apr, 2019 1 commit
    • Justin McCandless's avatar
      Fix cursor outside of input width (#30525) · ed91a3be
      Justin McCandless authored
      * Disallow cursor from appearing beyond the width of the input.
      
      * Test that verifies the cursor can't exceed the width of the input
      
      * Use constant from editable.dart to explain 1 pixel difference in test
      
      * Fix failing test that tested the case of overflowing spaces
      ed91a3be
  25. 28 Mar, 2019 1 commit
  26. 21 Mar, 2019 1 commit
  27. 20 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      some spaces formatting (#29452) · a6af4228
      Alexandre Ardhuin authored
      * some space formattings
      
      * always use blocks in if-else if a block is used
      
      * format spaces in for and while
      
      * allow multiline if conditions
      
      * fix missing space
      a6af4228
  28. 15 Mar, 2019 1 commit