Remove shrinkWrap from flexible_space_bar_test.dart (#132173)

See title.
This commit is contained in:
Tae Hyung Kim 2023-08-09 22:29:58 +00:00 committed by GitHub
parent 6da6fbf5a8
commit 702b78c6be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -910,13 +910,10 @@ class _SubCategoryScreenViewState extends State<SubCategoryScreenView>
),
),
const SliverToBoxAdapter(child: SizedBox(height: 12)),
SliverToBoxAdapter(
child: GridView.builder(
SliverGrid.builder(
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: 3,
),
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
itemCount: 300,
itemBuilder: (BuildContext context, int index) {
return Card(
@ -925,7 +922,6 @@ class _SubCategoryScreenViewState extends State<SubCategoryScreenView>
);
},
),
),
const SliverToBoxAdapter(child: SizedBox(height: 12)),
],
),