Build: Sliver Demo Screen
This screen demonstrates how to use SliverAppBar, SliverList, and SliverGrid together in a scrollable view.
Target UI
┌───────────────────────────────┐ │ Sliver Demo Screen │ │ ┌─────────────────────────┐ │ │ │ SliverAppBar with title │ │ │ └─────────────────────────┘ │ │ ┌─────────────────────────┐ │ │ │ SliverList: │ │ │ │ - Item 1 │ │ │ │ - Item 2 │ │ │ │ - Item 3 │ │ │ │ ... │ │ │ └─────────────────────────┘ │ │ ┌─────────────────────────┐ │ │ │ SliverGrid: │ │ │ │ [Tile 1] [Tile 2] │ │ │ │ [Tile 3] [Tile 4] │ │ │ │ ... │ │ │ └─────────────────────────┘ │ └───────────────────────────────┘
Use a CustomScrollView as the main scrollable area.
Add a SliverAppBar with a title 'Sliver Demo' that stays visible when scrolled.
Add a SliverList below the app bar with 5 list items labeled 'List Item 1' to 'List Item 5'.
Add a SliverGrid below the list with 6 grid tiles labeled 'Grid Tile 1' to 'Grid Tile 6'.
Grid should have 2 columns with fixed spacing.
Ensure smooth scrolling through all slivers.