isSliver method
Implementation
bool isSliver(BuildContext context) => switch (this) {
Text() ||
Container() ||
Padding() ||
Align() ||
Center() ||
Column() ||
Row() ||
Stack() ||
Positioned() ||
Expanded() ||
SizedBox() ||
Spacer() ||
AnimatedOpacity() ||
BoxSignal() ||
ListView() ||
GridView() ||
SingleChildScrollView() ||
Scrollable() ||
FlutterLogo() ||
Bar() ||
AppBar() ||
AnimatedContainer() =>
false,
BarSection() ||
ExpansionBarSection() ||
GlassSection() ||
SliverSignal() ||
SliverList() ||
SliverPadding() ||
SliverToBoxAdapter() ||
SliverFillRemainingBoxAdapter() ||
SliverFillRemaining() ||
SliverGrid() ||
SListView() ||
SGridView() ||
SliverGutter() =>
true,
_ => _isSliverDeep(context)
};