1
This commit is contained in:
parent
01630a66f0
commit
9074509b80
@ -34,7 +34,10 @@ class CategoryView extends GetView<CategoryController> {
|
|||||||
child: ListView.separated(
|
child: ListView.separated(
|
||||||
controller: controller.scrollController,
|
controller: controller.scrollController,
|
||||||
physics: const BouncingScrollPhysics(),
|
physics: const BouncingScrollPhysics(),
|
||||||
padding: const EdgeInsets.only(top: 10).w,
|
padding: EdgeInsets.only(
|
||||||
|
top: 10,
|
||||||
|
bottom: MediaQuery.of(context).padding.bottom,
|
||||||
|
).w,
|
||||||
itemCount: controller.categoryData.length,
|
itemCount: controller.categoryData.length,
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
List keys = controller.categoryData.keys.toList();
|
List keys = controller.categoryData.keys.toList();
|
||||||
|
|||||||
@ -34,7 +34,12 @@ class ClsDetView extends GetView<ClsDetController> {
|
|||||||
crossAxisCount: 2,
|
crossAxisCount: 2,
|
||||||
mainAxisSpacing: 20.w,
|
mainAxisSpacing: 20.w,
|
||||||
crossAxisSpacing: 21.w,
|
crossAxisSpacing: 21.w,
|
||||||
padding: const EdgeInsets.fromLTRB(16, 32, 16, 0).w,
|
padding: EdgeInsets.fromLTRB(
|
||||||
|
16,
|
||||||
|
32,
|
||||||
|
16,
|
||||||
|
MediaQuery.of(context).padding.bottom,
|
||||||
|
).w,
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
ImageModel item = controller.wallpaperList[index];
|
ImageModel item = controller.wallpaperList[index];
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user