- 18 Sep, 2023 1 commit
-
-
Michael Goderbauer authored
New feature in upcoming Dart 3.2. See https://github.com/dart-lang/language/issues/2020. Feature is enabled by bumping the min SDK version to 3.2. Part of https://github.com/flutter/flutter/issues/134476.
-
- 17 Aug, 2023 1 commit
-
-
Kate Lovett authored
Found in https://github.com/flutter/packages/pull/4536 The max x and max y index should allow for a case where there are no children in the viewport. This should be CP'd into stable once it lands.
-
- 10 Aug, 2023 1 commit
-
-
Kate Lovett authored
Fixes https://github.com/flutter/flutter/issues/126297 This adds support for keep alive to the 2D scrolling foundation. The TwoDimensionalChildBuilderDelegate and TwoDimensionalChildListDelegate will both add automatic keep alives to their children, matching the convention from SliverChildDelegates. The TwoDimensionalViewportParentData now incorporates keep alive and which is managed by the RenderTwoDimensionalViewport.
-
- 26 Jul, 2023 1 commit
-
-
Kate Lovett authored
These tweaks came from https://github.com/flutter/packages/pull/4536 - The TwoDimensionalChildBuilderDelegate asserts that maxXIndex and maxYIndex are null or >= 0 - The TwoDimensionalChildDelegate setter in RenderTwoDimensionalViewport has a covariant to allow type safety for subclasses of RenderTwoDimensionalViewport implementing with other subclasses of TwoDimensionalChildDelegate I'd like to cherry pick this so https://github.com/flutter/packages/pull/4536 will not have to wait for it to reach stable.
-
- 26 May, 2023 1 commit
-
-
Kate Lovett authored
From the 2D scrolling proposal: [flutter.dev/go/2D-Foundation](https://flutter.dev/go/2D-Foundation) â updated 4/25 Fixes https://github.com/flutter/flutter/issues/125505 Follow up issues: - https://github.com/flutter/flutter/issues/126297 - https://github.com/flutter/flutter/issues/126298 - https://github.com/flutter/flutter/issues/126299 - https://github.com/flutter/flutter/issues/122348 This adds a mostly abstract foundation for 2D scrolling in Flutter. With these base classes, developers will be able to construct widgets that scroll in both dimensions and can lazily load their children for the best performance. This implementation is meant to be flexible in order to support different kinds of 2D compositions, from tables to scatter plots. The upcoming TableView, TreeView, etc widgets (coming soon in flutter/packages) are built on top of this foundation.
-
- 11 May, 2023 1 commit
-
-
Michael Goderbauer authored
Sync lints with https://github.com/dart-lang/linter/blob/master/example/all.yaml and enable `implicit_reopen` and `type_literal_in_constant_pattern` (which have no violations). Also contains some clean-up work towards enabling `matching_super_parameters`, which is not quite ready yet due to its handling of "private" arguments.
-
- 23 Mar, 2023 1 commit
-
-
Kate Lovett authored
Clean up scrolling delegate code for 2D
-