We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96fb062 commit 557a9b8Copy full SHA for 557a9b8
day_07_10_sliver_appbar_listview_gridview/lib/main.dart
@@ -20,3 +20,22 @@ class MyApp extends StatelessWidget {
20
);
21
}
22
23
+
24
+/*
25
+-----------------------------------------
26
+How to implement GridView
27
28
+var arr_Images = [ image.network(), image.network(), image.network(), ]
29
+var delegateForGridView = SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount:3, crossAxisSpacing:8.0, mainAxisSpacing:8.0)
30
31
+Inside build method of Scaffold
32
33
+Container(
34
+ child : GridView(
35
+ padding: EdgeInset.only(top:8.0),
36
+ gridDelegate : delegateForGridView,
37
+ children : arr_Images,
38
+ )
39
+)
40
41
+*/
0 commit comments