|
|
@@ -266,28 +266,24 @@ class HomePage extends BasePage<HomePageController> {
|
|
|
|
|
|
GestureDetector buildGoStore() {
|
|
|
return GestureDetector(
|
|
|
- child: DecoratedBox(
|
|
|
- decoration: BoxDecoration(
|
|
|
- color: "#F6F5F8".toColor(),
|
|
|
- borderRadius: BorderRadius.circular(32),
|
|
|
+ child: Container(
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ gradient: LinearGradient(
|
|
|
+ colors: ['#FFD3A8'.color, '#FFEDE1'.color, '#FFDBC2'.color],
|
|
|
+ stops: const [0, 0.5, 1.0],
|
|
|
+ begin: Alignment.bottomLeft,
|
|
|
+ end: Alignment.topRight,
|
|
|
),
|
|
|
- child: Padding(
|
|
|
- padding:
|
|
|
- const EdgeInsets.symmetric(horizontal: 10, vertical: 5).w,
|
|
|
- child: Row(
|
|
|
- crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
- children: [
|
|
|
- SizedBox(
|
|
|
- width: 20.w,
|
|
|
- height: 20.w,
|
|
|
- child: Assets.images.iconHomeCharge.image()),
|
|
|
- SizedBox(width: 2.w),
|
|
|
- Text(StringName.homeChargeTxt.tr,
|
|
|
- style: TextStyle(
|
|
|
- fontSize: 15.sp, color: ColorName.primaryTextColor)),
|
|
|
- ],
|
|
|
- ),
|
|
|
- )),
|
|
|
+ borderRadius: BorderRadius.circular(100),
|
|
|
+ ),
|
|
|
+ padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 8).w,
|
|
|
+ child: Text(StringName.homeChargeTxt.tr,
|
|
|
+ style: TextStyle(
|
|
|
+ height: 1,
|
|
|
+ fontSize: 13.sp,
|
|
|
+ color: '#773C23'.color,
|
|
|
+ fontWeight: FontWeight.bold)),
|
|
|
+ ),
|
|
|
onTap: () {
|
|
|
// accountRepository.logout();
|
|
|
// ToastUtil.showToast('GoStore');
|