fix: some ui bug
This commit is contained in:
@@ -26,7 +26,6 @@ class HomePage extends GetView<HomeLogic> {
|
||||
mainInformation(),
|
||||
SizedBox(height: 8.h),
|
||||
WidelyUsedWidget(),
|
||||
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -34,12 +33,14 @@ class HomePage extends GetView<HomeLogic> {
|
||||
}
|
||||
|
||||
Widget buildColumn(Widget widget, String title) {
|
||||
|
||||
return Container(
|
||||
height: 70.h,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
spacing: 8, children: [widget, Text(title)]));
|
||||
height: 70.h,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
spacing: 8,
|
||||
children: [widget, Text(title)],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
InkWell mainInformation() {
|
||||
@@ -440,6 +441,7 @@ class HomePage extends GetView<HomeLogic> {
|
||||
isLoading: data.value == null,
|
||||
description: data.value?.totalGovernmentalRemainWeight?.separatedByCommaFa ?? '0',
|
||||
iconPath: Assets.vec.cubeCardGovermentSvg.path,
|
||||
|
||||
iconColor: AppColor.textColor,
|
||||
bgDescriptionColor: const Color(0xFFF5ECEE),
|
||||
bgLabelColor: const Color(0xFFDEC1C7),
|
||||
|
||||
Reference in New Issue
Block a user