1. 03 Nov, 2020 1 commit
  2. 31 Oct, 2020 1 commit
  3. 28 Oct, 2020 1 commit
    • Greg Spencer's avatar
      Remove `nullOk` in `MediaQuery.of` (#68736) · 55289324
      Greg Spencer authored
      Adds MediaQuery.maybeOf to replace calling MediaQuery.of(context, nullOk: true), and removes the nullOk parameter. Also changes MediaQuery.of to return a non-nullable value, and removes many instances of the ! operator, reducing the possible places where a null dereference could occur.
      Unverified
      55289324
  4. 21 Oct, 2020 1 commit
  5. 12 Oct, 2020 1 commit
  6. 24 Sep, 2020 1 commit
  7. 17 Sep, 2020 1 commit
  8. 11 Jun, 2020 1 commit
  9. 08 Jan, 2020 1 commit
  10. 07 Jan, 2020 1 commit
  11. 17 Dec, 2019 1 commit
  12. 05 Dec, 2019 1 commit
    • Greg Spencer's avatar
      Normalizes all of the "See also" blocks in comments. (#46121) · c6fe7bb9
      Greg Spencer authored
      This normalizes all of the "See also" blocks in comments so that they conform in style.
      
      They all look like this now:
      
        /// See also:
        ///
        ///  * [MyFavoriteWidget], because it's cool.
        class Foo {}
      
      I removed some useless "See also" blocks, and added commentary to ones that were just "bare" references.
      
      This is my penance for adding so many bullets that are "-" instead of "*". :-)
      Unverified
      c6fe7bb9
  13. 03 Dec, 2019 1 commit
  14. 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
  15. 10 Oct, 2019 1 commit
    • Greg Spencer's avatar
      Re-land keyboard traversal PRs (#42278) · ce150971
      Greg Spencer authored
      This attempts to reland #40186 and #41220, that were reverted in #41945.
      
      The main modifications from the original PRs are that I predefine the shortcuts and actions maps instead of defining them inline in the build function, and I use a new mapEquals to do a deep comparison so that we don't rebuild modified things if the contents of the map haven't changed.
      
      I also eliminated an operator== and hashCode that were defined on the Actions widget, since widgets shouldn't have those. (it's too bad though: I get an 85% speedup if we leave this in! Too bad it prevents rebuilding of the children...)
      
      Fixes #40101
      Unverified
      ce150971
  16. 07 Oct, 2019 1 commit
  17. 18 Sep, 2019 1 commit
    • Greg Spencer's avatar
      Fix a problem with disposing of focus nodes in tab scaffold (#40100) · 110db03f
      Greg Spencer authored
      Previously, focus nodes created in the tab scaffold were not being disposed of properly, causing possible memory leaks. Also, the builder wasn't being passed the right context so that the FocusScope.of operator inside of a builder would find the focus scope for the given tab (it was being passed the context of the overall tab scaffold).
      Unverified
      110db03f
  18. 17 Sep, 2019 1 commit
  19. 16 Aug, 2019 1 commit
  20. 11 Jun, 2019 1 commit
  21. 17 May, 2019 1 commit
  22. 25 Apr, 2019 1 commit
  23. 23 Apr, 2019 1 commit
  24. 22 Apr, 2019 1 commit
    • 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
      Unverified
      4218c0bc
  25. 17 Apr, 2019 1 commit
  26. 09 Mar, 2019 1 commit
  27. 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
  28. 08 Feb, 2019 1 commit
  29. 18 Jan, 2019 1 commit
  30. 20 Dec, 2018 1 commit
  31. 19 Dec, 2018 1 commit
  32. 08 Nov, 2018 1 commit
  33. 17 Oct, 2018 1 commit
  34. 12 Sep, 2018 1 commit
  35. 07 Sep, 2018 1 commit
  36. 09 Jul, 2018 1 commit
  37. 03 May, 2018 1 commit
  38. 02 Apr, 2018 1 commit
  39. 21 Feb, 2018 1 commit
  40. 08 Dec, 2017 1 commit
    • xster's avatar
      Let translucent Cupertino bars have its scaffold children automatically pad... · ecf50418
      xster authored
      Let translucent Cupertino bars have its scaffold children automatically pad their heights - second try (#13440)
      
      * Let translucent Cupertino bars have its scaffold children automatically pad their heights (#13194)
      
      * Let lists automatically add sliver padding from media query. Translucent nav and tab bars leave behind media query paddings in scaffolds.
      
      * tests
      
      * const lint
      
      * Rename base abstract class to generalized ObstructingPreferredSizeWidget
      
      * review
      
      * More docs and comments from #13317
      Unverified
      ecf50418