The Stac SliverList allows you to build a Flutter sliver list widget using JSON. It displays its children in a linear, scrollable list within a sliver context. This widget must be used inside aDocumentation Index
Fetch the complete documentation index at: https://docs.stac.dev/llms.txt
Use this file to discover all available pages before exploring further.
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.
Example
- Dart
- JSON
- Preview