1. 30 Sep, 2019 1 commit
  2. 24 Sep, 2019 2 commits
  3. 05 Sep, 2019 1 commit
    • Ian Hickson's avatar
      Docs (#39198) · a415c76b
      Ian Hickson authored
      * Minor improvements to framework documentation.
      
      * maybePop documentation fix
      
      * Mark some flutter_test arguments required.
      
      Without these set, we get a crash.
      
      * Minor correction to ListView docs
      a415c76b
  4. 21 Aug, 2019 1 commit
  5. 16 Aug, 2019 2 commits
    • brandondiamond's avatar
      c161ac89
    • Greg Spencer's avatar
      Automatic focus highlight mode for FocusManager (#37825) · a11d7314
      Greg Spencer authored
      This adds a FocusHighlightMode to the FocusManager that switches based on the type of input that has recently been received. The initial value is based on the platform, but is updated as soon as user input is received. There is also a FocusHighlightStrategy enum so that the developer can change the strategy to a fixed value if needed.
      
      The default is to automatically detect the mode based on the last type of user input. If they use a mouse or keyboard, it shows the focus highlights. If they use a touch interface, then the highlights disappear. This is consistent with the way that Android and Chrome work. The controls still receive focus, only the display of the highlight changes.
      
      Text fields show the focus highlight regardless of the focus highlight mode.
      a11d7314
  6. 07 Aug, 2019 1 commit
  7. 30 Jul, 2019 1 commit
  8. 09 Jul, 2019 1 commit
  9. 08 Jul, 2019 1 commit
  10. 02 Jul, 2019 1 commit
  11. 20 Jun, 2019 1 commit
  12. 13 Jun, 2019 1 commit
  13. 12 Jun, 2019 1 commit
  14. 30 May, 2019 1 commit
  15. 27 May, 2019 1 commit
  16. 14 May, 2019 1 commit
  17. 03 May, 2019 1 commit
  18. 01 May, 2019 1 commit
  19. 25 Apr, 2019 1 commit
    • Greg Spencer's avatar
      [Re-Land] Implement focus traversal for desktop platforms. (#31614) · 7775c237
      Greg Spencer authored
      This re-lands the Focus changes in #30040. Correctness changes in routes.dart, and removes the automatic requesting of focus on reparent when there is no current focus, which caused undesirable selections.
      
      Addresses #11344, #1608, #13264, and #1678
      Fixes #30084
      Fixes #26704
      7775c237
  20. 23 Apr, 2019 2 commits
  21. 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
    • chunhtai's avatar
  22. 15 Apr, 2019 1 commit
    • liyuqian's avatar
      Allow profile widget builds in profile mode (#30990) · a8116e9e
      liyuqian authored
      ## Description
      
      Previously, such function is only available in the debug mode. But the
      performance information is very noisy in debug mode with JIT. I feel
      that such function is as important and useful as the performance overlay
      and the `--trace-skia` option for the GPU thread.  So we should give it
      the same ability to run in both profile and debug mode.
      
      I've tested it using flutter_gallery in the profile mode. There's no
      observable difference in the performance overlay between toggling widget
      build profiling.
      
      ## Related Issues
      
      https://github.com/flutter/flutter/issues/30984
      a8116e9e
  23. 10 Apr, 2019 1 commit
  24. 03 Apr, 2019 1 commit
  25. 13 Mar, 2019 1 commit
  26. 07 Mar, 2019 1 commit
  27. 06 Mar, 2019 2 commits
  28. 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
  29. 21 Feb, 2019 1 commit
  30. 14 Feb, 2019 1 commit
  31. 13 Feb, 2019 2 commits
  32. 04 Feb, 2019 2 commits
  33. 30 Jan, 2019 1 commit