1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Use SliverList and cache content height (#1802)

This commit is contained in:
Qun Cheng
2023-05-12 11:06:50 -07:00
committed by GitHub
parent 3dc607a695
commit 1d6e5a0ece
4 changed files with 302 additions and 62 deletions

View File

@@ -129,11 +129,6 @@ class _HomeState extends State<Home> with SingleTickerProviderStateMixin {
return const TypographyScreen();
case ScreenSelected.elevation:
return const ElevationScreen();
default:
return FirstComponentList(
showNavBottomBar: showNavBarExample,
scaffoldKey: scaffoldKey,
showSecondList: showMediumSizeLayout || showLargeSizeLayout);
}
}