1. 08 Aug, 2020 1 commit
  2. 05 Aug, 2020 1 commit
  3. 28 Jul, 2020 1 commit
  4. 23 Jul, 2020 1 commit
  5. 16 Jul, 2020 1 commit
    • Todd Volkert's avatar
      Allow transparent barrierColor in showDialog methods (#61516) · e2cdc9f9
      Todd Volkert authored
      `showDialog()` and `showGeneralDialog()` were allowing transparent
      colors but then triggering an assertion down the stack while building
      the modal barrier. The assertion existed to keep from animating from
      transparent to transparent, but there's no need for the assertion,
      since we can just treat the transparent case as the same as the null
      case -- no animation necessary.
      Unverified
      e2cdc9f9
  6. 15 Jul, 2020 1 commit
  7. 25 Jun, 2020 1 commit
  8. 24 Jun, 2020 1 commit
  9. 18 Jun, 2020 1 commit
  10. 11 Jun, 2020 2 commits
  11. 23 Mar, 2020 1 commit
  12. 27 Feb, 2020 1 commit
    • Greg Spencer's avatar
      Change Focus.unfocus to take a disposition for where the focus… (#50831) · d4226566
      Greg Spencer authored
      When Focus.unfocus is called, the caller usually just thinks about wanting to remove focus from the node, but really, unfocus is a request to automatically pass the focus to another (hopefully useful) node.
      
      This PR removes the focusPrevious flag from unfocus, and replaces it with a disposition enum that indicates where the focus should go from here.
      
      The other value of the UnfocusDisposition enum is UnfocusDisposition.scope.
      
      UnfocusDisposition.previouslyFocusedChild is closest to what focusPrevious used to do: focus the nearest enclosing scope and use its focusedChild field to walk down the tree, finding the leaf focusedChild. This PR modifies it slightly so that it walks up to the nearest focusable enclosing scope before trying to focus the children. This change addresses #48903
      
      A new mode: UnfocusDisposition.scope will focus the nearest focusable enclosing scope of this node without trying to use the FocusScopeNode.focusedChild value to descend to the leaf focused child. This is useful as a default for both text field finalization and for what happens when canRequestFocus is set to false. It allows the scope to stay focused so that nextFocus/previousFocus still work as expected, but removes the focus from primary focus.
      
      In addition to those changes, unfocus called on a FocuScope that wasn't the primary focus used to unfocus the primary focus instead. I removed that behavior, since it was buggy: if the primary focus was inside of a child scope, and you called unfocus on the parent scope, then the child scope could have focused another of its children instead, leaving the scope that you called unfocus on with hasFocus returning true still. If you want to remove the focus from the primary focus instead of the scope, that's easy enough to do: just call primaryFocus.unfocus().
      
      Fixes #48903
      Unverified
      d4226566
  13. 05 Feb, 2020 1 commit
  14. 30 Jan, 2020 1 commit
  15. 29 Jan, 2020 1 commit
  16. 27 Jan, 2020 1 commit
  17. 17 Jan, 2020 1 commit
  18. 16 Jan, 2020 2 commits
  19. 10 Jan, 2020 1 commit
  20. 09 Jan, 2020 1 commit
  21. 07 Jan, 2020 1 commit
  22. 16 Dec, 2019 1 commit
  23. 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
      Unverified
      449f4a66
  24. 01 Nov, 2019 1 commit
  25. 17 Oct, 2019 1 commit
  26. 14 Oct, 2019 1 commit
    • Greg Spencer's avatar
      Fix route focusing and autofocus when reparenting focus nodes. (#42554) · e2c5fd6c
      Greg Spencer authored
      This fixes a problem with reparenting of focus nodes where it would remove the node from the scope's focused children when reparented, even if it was being reparented to another place under the same scope. This only occurred if the scope in question didn't have focus.
      
      This caused nodes to not get autofocused when they were a child of another node within the scope, and were reparented, and then the scope was given focus (as when a route is pushed).
      
      This keeps the node in the scope's child list where it was if the node is reparented under a parent within the same scope.
      
      - Added a test that tries to autofocus a TextField when the route is pushed and there is another 
        FocusNode above the text field. This was how this was first noticed: the autofocus got ignored in 
        this configuration.
      
      - Added a test to focus_manager_test that tests for the specific case of reparenting a node when 
        it's in the focused children of the scope.
      Unverified
      e2c5fd6c
  27. 04 Jun, 2019 1 commit
  28. 31 May, 2019 1 commit
  29. 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
      Unverified
      387f8854
  30. 30 Jan, 2019 1 commit
  31. 25 Oct, 2018 1 commit
  32. 23 Oct, 2018 2 commits
  33. 16 Oct, 2018 1 commit
  34. 12 Sep, 2018 1 commit
  35. 02 Aug, 2018 1 commit
  36. 27 Jul, 2018 1 commit
  37. 23 Jul, 2018 1 commit