Cross-link SliverFixedExtentList/SliverPrototypeExtentList/SliverVariedExtentList (#143184)

Fixes https://github.com/flutter/flutter/issues/141678.
This commit is contained in:
Michael Goderbauer 2024-02-08 13:45:06 -08:00 committed by GitHub
parent fbc9f2d5bf
commit 8d3c7b6f6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View file

@ -381,6 +381,8 @@ class SliverList extends SliverMultiBoxAdaptorWidget {
/// * [SliverPrototypeExtentList], which is similar to [SliverFixedExtentList]
/// except that it uses a prototype list item instead of a pixel value to define
/// the main axis extent of each item.
/// * [SliverVariedExtentList], which supports children with varying (but known
/// upfront) extents.
/// * [SliverFillViewport], which determines the [itemExtent] based on
/// [SliverConstraints.viewportMainAxisExtent].
/// * [SliverList], which does not require its children to have the same

View file

@ -28,6 +28,8 @@ import 'sliver.dart';
///
/// * [SliverFixedExtentList], whose children are forced to a given pixel
/// extent.
/// * [SliverVariedExtentList], which supports children with varying (but known
/// upfront) extents.
/// * [SliverList], which does not require its children to have the same
/// extent in the main axis.
/// * [SliverFillViewport], which sizes its children based on the

View file

@ -27,6 +27,9 @@ import 'sliver.dart';
///
/// * [SliverFixedExtentList], whose children are forced to a given pixel
/// extent.
/// * [SliverPrototypeExtentList], which is similar to [SliverFixedExtentList]
/// except that it uses a prototype list item instead of a pixel value to define
/// the main axis extent of each item.
/// * [SliverList], which does not require its children to have the same
/// extent in the main axis.
/// * [SliverFillViewport], which sizes its children based on the