mirror of
https://github.com/flutter/flutter
synced 2024-08-25 02:46:31 +00:00
Cross-link SliverFixedExtentList/SliverPrototypeExtentList/SliverVariedExtentList (#143184)
Fixes https://github.com/flutter/flutter/issues/141678.
This commit is contained in:
parent
fbc9f2d5bf
commit
8d3c7b6f6a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue