1. 23 Sep, 2020 1 commit
  2. 15 Sep, 2020 1 commit
    • Alexandre Ardhuin's avatar
      Reland "Nnbd widgets" (#65528) · b007a81a
      Alexandre Ardhuin authored
      * Reland "Nnbd widgets (#64672)"
      
      This reverts commit 127e6790.
      
      * remove non-nullable enforcement on AsyncSnapshot
      
      * make data param non-nullable for AsyncSnapshot.withData
      
      * make some Text params non-nullable
      b007a81a
  3. 10 Sep, 2020 1 commit
  4. 09 Sep, 2020 2 commits
    • Michael Goderbauer's avatar
      Revert "Nnbd widgets (#64672)" (#65488) · 127e6790
      Michael Goderbauer authored
      This reverts commit e682ec71.
      127e6790
    • Alexandre Ardhuin's avatar
      Nnbd widgets (#64672) · e682ec71
      Alexandre Ardhuin authored
      * migrate widget to nullsafety
      
      * remove double blank line after license
      
      * address review comments in actions.dart
      
      * nullable ObjectKey.value
      
      * use local variable oldElement
      
      * make State.build non-nullable
      
      * make State.context non-nullable
      
      * newline at eof
      
      * make ProxyWidget.child non-nullable
      
      * make _InactiveElements.debugContains non-nullable
      
      * make Element.depth non-nullable
      
      * make ProxyElement.build non-nullable
      
      * make StatefulElement.state non-nullable
      
      * remove 'Notice that'
      
      * avoid cast of list in RenderObjectElement.updateChildren
      
      * make IndexedSlot.value non-nullable
      
      * avoid cast of list in MultiChildRenderObjectElement.mount
      
      * make some WidgetsApp parameters non-nullable
      
      * hitTest take non-nullable position
      
      * make ScrollableState.position non-nullable
      
      * use _pixels instead of pixels
      
      * make ViewportOffset.pixels non-nullable
      
      * make param and return type of IndexedWidgetBuilder non-nullable
      
      * unused_import
      
      * make context param non-nullable for Builder in animated_list.dart
      
      * make ScrollMetrics.viewportDimension non-nullable
      
      * make ScrollMetrics.{min,max}ScrollExtent non-nullable
      
      * make _Location.file non-nullable
      
      * _WidgetForTypeTests.createElement throw UnimplementedError
      
      * update _NullWidget.build error message
      
      * make _ShortcutsState.manager non-nullable
      
      * Fix childCount issues for NNBD
      
      * fix childCount computation on web
      
      * increase max value on js side to compute childCount
      
      * make aspect parameter of dependOnInheritedWidgetOfExactType nullable
      
      * merge has{min,max}ScrollExtent into hasScrollExtents
      
      * update focus_manager.dart
      
      * address review comments in icon.dart
      
      * address review comments in image.dart
      
      * address review comments in routes.dart
      
      * address review comments in scroll_activity.dart
      
      * update doc comments
      
      * make UserScrollNotification.direction non-nullable and required
      
      * rename hasScrollExtents to hasContentDimensions
      
      * unnecessary late
      Co-authored-by: 's avatarIan Hickson <ian@hixie.ch>
      e682ec71
  5. 08 Sep, 2020 2 commits
  6. 04 Sep, 2020 1 commit
  7. 03 Sep, 2020 1 commit
  8. 27 Aug, 2020 1 commit
  9. 21 Aug, 2020 1 commit
    • Todd Volkert's avatar
      Remove remaining uses of `childToSlot` (#64273) · dae720be
      Todd Volkert authored
      The remaining uses of this pattern were all due to wanting to have
      the child's slot when `Element.forgetChild()` was called. However,
      when that method is called, the child's `slot` value is still valid
      in the context of the parent, so the uses can just use `child.slot`.
      
      This is the final round of cleanup from the fallout of #63269
      dae720be
  10. 20 Aug, 2020 4 commits
  11. 30 Jul, 2020 1 commit
    • xubaolin's avatar
      Ignore unmounted parent when _debugVerifyGlobalKeyReservation for GlobalKey check (#62323) · aa1acd8e
      xubaolin authored
      * Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)
      
      * Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)
      
      * Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)
      
      * Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)
      
      * Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)
      
      * Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)
      aa1acd8e
  12. 29 Jul, 2020 2 commits
  13. 28 Jul, 2020 3 commits
  14. 23 Jul, 2020 1 commit
  15. 14 Jul, 2020 1 commit
  16. 16 Jun, 2020 2 commits
  17. 11 Jun, 2020 2 commits
  18. 05 Jun, 2020 1 commit
  19. 04 Jun, 2020 1 commit
  20. 03 Jun, 2020 1 commit
  21. 18 May, 2020 1 commit
  22. 07 Apr, 2020 1 commit
    • Greg Spencer's avatar
      Revise Action API (#42940) · 0f68b46f
      Greg Spencer authored
      This updates the Action API in accordance with the design doc for the changes: flutter.dev/go/actions-and-shortcuts-design-revision
      
      Fixes #53276
      0f68b46f
  23. 06 Apr, 2020 1 commit
  24. 25 Mar, 2020 1 commit
  25. 11 Mar, 2020 2 commits
    • Greg Spencer's avatar
      Minor doc changes (#52433) · 7c9f95ac
      Greg Spencer authored
      Just some very minor doc changes: an adjustment of my comments in #51495, and a typo fix.
      7c9f95ac
    • Greg Spencer's avatar
      Convert Diagnosticable to a mixin (#51495) · 210f4d83
      Greg Spencer authored
      This converts Diagnosticable to be a mixin instead of an abstract class, so that it can be used to add diagnostics to classes which already have a base class.
      
      It leaves in place the DiagnosticableMixin mixin, since there are some plugins that are still using it, and removing it would mean that those plugins wouldn't work with master branch Flutter anymore. DiagnosticableMixin will be removed once this mixin version of Diagnosticable makes its way to the stable branch.
      210f4d83
  26. 04 Mar, 2020 1 commit
  27. 02 Mar, 2020 1 commit
  28. 13 Feb, 2020 1 commit
    • Greg Spencer's avatar
      Reland: Add OrderedFocusTraversalPolicy and FocusTraversalGrou… (#50672) · d57d4935
      Greg Spencer authored
      This re-lands #49235 with the addition of includeSemantics flag on the Focus widget so that the FocusTraversalGroup can create a Focus widget without affecting the semantics tree.
      
      The FocusTraversalGroup uses the Focus widget to create a grouping of descendants for traversal, but doesn't actually participate in focus (canRequestFocus is always false), so we don't want it to add a Semantics widget in that case, since that can cause semantics changes. The canRequestFocus attribute can also be used when a widget is disabled, so we do sometimes want to include Semantics even if that is false, but not in the case where it is always false, as for FocusTraversalGroup.
      
      - Added a test to make sure that FocusTraversalGroup doesn't add any semantics information.
      d57d4935
  29. 12 Feb, 2020 1 commit