CustomScrollView.
To learn more about the SliverList widget in Flutter, refer to the
official documentation.
Properties
| Property | Type | Description |
|---|---|---|
| children | List<Map<String, dynamic>>? | The list of widgets to display in the sliver list. Each child must be a box widget. |
| addAutomaticKeepAlives | bool? | Whether to add automatic keep-alives for the children. Defaults to true. |
| addRepaintBoundaries | bool? | Whether to wrap children in repaint boundaries. Defaults to true. |
| addSemanticIndexes | bool? | Whether to add semantic indexes for the children. Defaults to true. |
| semanticIndexOffset | int? | An offset added to each child’s semantic index. Useful when combining multiple slivers. |
Note Children ofSliverListmust be box widgets (for exampleContainer,Text, etc.). To apply padding, opacity, or other sliver-level effects, wrap theSliverListwith widgets such asSliverPaddingorSliverOpacity.