Unverified Commit 8d3c7b6f authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

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

Fixes https://github.com/flutter/flutter/issues/141678.
parent fbc9f2d5
...@@ -381,6 +381,8 @@ class SliverList extends SliverMultiBoxAdaptorWidget { ...@@ -381,6 +381,8 @@ class SliverList extends SliverMultiBoxAdaptorWidget {
/// * [SliverPrototypeExtentList], which is similar to [SliverFixedExtentList] /// * [SliverPrototypeExtentList], which is similar to [SliverFixedExtentList]
/// except that it uses a prototype list item instead of a pixel value to define /// except that it uses a prototype list item instead of a pixel value to define
/// the main axis extent of each item. /// the main axis extent of each item.
/// * [SliverVariedExtentList], which supports children with varying (but known
/// upfront) extents.
/// * [SliverFillViewport], which determines the [itemExtent] based on /// * [SliverFillViewport], which determines the [itemExtent] based on
/// [SliverConstraints.viewportMainAxisExtent]. /// [SliverConstraints.viewportMainAxisExtent].
/// * [SliverList], which does not require its children to have the same /// * [SliverList], which does not require its children to have the same
......
...@@ -28,6 +28,8 @@ import 'sliver.dart'; ...@@ -28,6 +28,8 @@ import 'sliver.dart';
/// ///
/// * [SliverFixedExtentList], whose children are forced to a given pixel /// * [SliverFixedExtentList], whose children are forced to a given pixel
/// extent. /// extent.
/// * [SliverVariedExtentList], which supports children with varying (but known
/// upfront) extents.
/// * [SliverList], which does not require its children to have the same /// * [SliverList], which does not require its children to have the same
/// extent in the main axis. /// extent in the main axis.
/// * [SliverFillViewport], which sizes its children based on the /// * [SliverFillViewport], which sizes its children based on the
......
...@@ -27,6 +27,9 @@ import 'sliver.dart'; ...@@ -27,6 +27,9 @@ import 'sliver.dart';
/// ///
/// * [SliverFixedExtentList], whose children are forced to a given pixel /// * [SliverFixedExtentList], whose children are forced to a given pixel
/// extent. /// 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 /// * [SliverList], which does not require its children to have the same
/// extent in the main axis. /// extent in the main axis.
/// * [SliverFillViewport], which sizes its children based on the /// * [SliverFillViewport], which sizes its children based on the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment