update dependence

This commit is contained in:
quantulr
2023-02-10 00:07:41 +08:00
parent 2aa59649a8
commit bd259d8303
9 changed files with 58 additions and 58 deletions

View File

@ -53,8 +53,9 @@ class _GalleryState extends ConsumerState<Gallery> {
@override
Widget build(BuildContext context) {
print("build");
return GridView.builder(
// controller: ,
itemCount: imageList.length,
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: MediaQuery.of(context).size.width > 640 ? 5 : 3),