Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # Sliver - [[SliverAppBar]] - [[SliverToBoxAdaptor]] - [[SliverList]] - [[SliverFixedExtentList]] - [[SliverGrid]] - [[SliverGrid.extent]] - [[SliverGrid.count]] ## How to Slivers Work? Widgets that we frequently use inside a Scaffold extend the abstract class [[RenderConstrainedBox]]. For example, Container, ListView, Text, etc. extend the abstract class [[RenderConstrainedBox]] But we cannot use slivers directly in Scaffold. We will have to add a [[CustomScrollView]] which can hold an array of slivers. And these slivers extend the abstract class [[RenderSliver]]. In Flutter [[CustomScrollView]] is a type of scrollView which has a property named [[sliver]]s. This can hold an array of widgets that extend the abstract class [[RenderSliver]]. These widgets have some capabilities beyond those of simple widgets (widgets which extend RenderConstrainedBox) such as expanding and shrinking the app bar, control over the scroll effect, a widget with scrolling effect. ## Refs - https://www.dltlabs.com/blog/how-do-you-use-slivers-in-flutter-180301 open/sliver.txt Last modified: 2024/10/05 06:15by 127.0.0.1