This commit is contained in:
bluesea 2024-05-13 14:07:30 +08:00
parent 725d105db1
commit b579588881

View File

@ -54,8 +54,15 @@ class HomePageView extends GetView <HomePageController> {
image: controller.typeList[index].data![0].previewThumb!,
fit: BoxFit.cover,
),
Align(
Material(
color: Colors.transparent,
child: InkWell(
onTap: () {
print("dsfadf");
},
child: Align(
alignment: Alignment.bottomCenter,
child: Container(
color: Colors.black.withAlpha(160),
@ -73,17 +80,20 @@ class HomePageView extends GetView <HomePageController> {
),
),
),
),
),
],
);
}),
));
],
);
}),
));
}
//
SizedBox getHeaderWidget(BuildContext context){
final size = MediaQuery.of(context).size;
final cw = 80.0;
const cw = 80.0;
return SizedBox(
width: size.width,
@ -123,10 +133,10 @@ class HomePageView extends GetView <HomePageController> {
// border: Border.all(color: Colors.black12, width: 0.5),
// borderRadius: BorderRadius.all(Radius.circular(5.0))),
color:Colors.red,
padding: EdgeInsets.all(5.0),
padding: const EdgeInsets.all(5.0),
// margin: EdgeInsets.fromLTRB(3.0, 0.0, 3.0, 0.0),
child: ConstrainedBox(
constraints: BoxConstraints(maxWidth: 100.0,),
constraints: const BoxConstraints(maxWidth: 100.0,),
child: Text(
title,
softWrap: true,
@ -134,4 +144,7 @@ class HomePageView extends GetView <HomePageController> {
));
}
}
}