首页ui布局
This commit is contained in:
parent
8fe3bcaf48
commit
723d06cfcd
@ -54,17 +54,26 @@ class HomePageView extends GetView <HomePageController> {
|
||||
image: controller.typeList[index].data![0].previewThumb!,
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
Align(
|
||||
alignment: Alignment.bottomCenter,
|
||||
child: Text(
|
||||
controller.typeList[index].name!,
|
||||
style: const TextStyle(
|
||||
color: Colors.white
|
||||
),
|
||||
|
||||
Align(
|
||||
alignment: Alignment.bottomCenter,
|
||||
child: Container(
|
||||
color: Colors.black,
|
||||
height: 30,
|
||||
width: double.infinity,
|
||||
child: Align(
|
||||
alignment: Alignment.center,
|
||||
child: Text(
|
||||
controller.typeList[index].name!,
|
||||
style: const TextStyle(
|
||||
color: Colors.white
|
||||
),
|
||||
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
],
|
||||
);
|
||||
}),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user