fix :
1 - multi module in Auth select save selected module 2 - add flutter gen for assets builder
This commit is contained in:
@@ -18,8 +18,7 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
alignment: Alignment.center,
|
||||
clipBehavior: Clip.none,
|
||||
children: [
|
||||
vecWidget(Assets.vecBgHeaderUserProfileSvg, fit: BoxFit.cover),
|
||||
|
||||
Assets.vec.bgHeaderUserProfileSvg.svg(),
|
||||
Positioned(
|
||||
bottom: -20,
|
||||
left: 0,
|
||||
@@ -105,7 +104,7 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
onPressed: () {
|
||||
data.value = 0;
|
||||
},
|
||||
icon: Assets.vecProfileUserSvg,
|
||||
icon: Assets.vec.profileUserSvg.path,
|
||||
selected: data.value == 0,
|
||||
),
|
||||
cardActionWidget(
|
||||
@@ -113,7 +112,7 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
onPressed: () {
|
||||
data.value = 1;
|
||||
},
|
||||
icon: Assets.vecInformationSvg,
|
||||
icon: Assets.vec.informationSvg.path,
|
||||
selected: data.value == 1,
|
||||
),
|
||||
cardActionWidget(
|
||||
@@ -121,7 +120,7 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
onPressed: () {
|
||||
data.value = 2;
|
||||
},
|
||||
icon: Assets.vecReceiptDiscountSvg,
|
||||
icon: Assets.vec.receiptDiscountSvg.path,
|
||||
selected: data.value == 2,
|
||||
),
|
||||
],
|
||||
@@ -129,9 +128,7 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
);
|
||||
}, controller.selectedInformationType),
|
||||
|
||||
SizedBox(
|
||||
height: 100,
|
||||
)
|
||||
SizedBox(height: 100),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -159,34 +156,38 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
itemList(
|
||||
title: 'نام و نام خانوادگی',
|
||||
content: 'آیدا گل محمدی',
|
||||
icon: Assets.vecUserSvg,
|
||||
icon: Assets.vec.userSvg.path,
|
||||
),
|
||||
itemList(
|
||||
title: 'موبایل',
|
||||
content: '09302654896',
|
||||
icon: Assets.vecCallSvg,
|
||||
icon: Assets.vec.callSvg.path,
|
||||
),
|
||||
itemList(
|
||||
title: 'کدملی',
|
||||
content: 'نا مشخص',
|
||||
icon: Assets.vecTagUserSvg,
|
||||
icon: Assets.vec.tagUserSvg.path,
|
||||
),
|
||||
itemList(
|
||||
title: 'شماره شناسنامه',
|
||||
content: 'نا مشخص',
|
||||
icon: Assets.vecUserSquareSvg,
|
||||
icon: Assets.vec.userSquareSvg.path,
|
||||
),
|
||||
itemList(
|
||||
title: 'تاریخ تولد',
|
||||
content: '1404/10/12',
|
||||
icon: Assets.vecCalendarSvg,
|
||||
icon: Assets.vec.calendarSvg.path,
|
||||
),
|
||||
itemList(
|
||||
title: 'استان',
|
||||
content: 'لرستان',
|
||||
icon: Assets.vecPictureFrameSvg,
|
||||
icon: Assets.vec.pictureFrameSvg.path,
|
||||
),
|
||||
itemList(
|
||||
title: 'شهر',
|
||||
content: 'خرم آباد',
|
||||
icon: Assets.vec.mapSvg.path,
|
||||
),
|
||||
itemList(title: 'شهر', content: 'خرم آباد', icon: Assets.vecMapSvg),
|
||||
],
|
||||
);
|
||||
}
|
||||
@@ -201,11 +202,10 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
if (icon != null)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: vecWidget(
|
||||
icon,
|
||||
child: SvgGenImage.vec(icon).svg(
|
||||
width: 20,
|
||||
height: 20,
|
||||
color: AppColor.blueNormal,
|
||||
colorFilter: ColorFilter.mode(AppColor.blueNormal, BlendMode.srcIn),
|
||||
),
|
||||
),
|
||||
Text(title, style: AppFonts.yekan12.copyWith(color: AppColor.blueNormal)),
|
||||
@@ -238,11 +238,13 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
),
|
||||
child: vecWidget(
|
||||
icon,
|
||||
child: SvgGenImage.vec(icon).svg(
|
||||
width: 40,
|
||||
height: 40,
|
||||
color: selected ? AppColor.blueNormalActive : AppColor.blueNormal,
|
||||
colorFilter: ColorFilter.mode(
|
||||
selected ? AppColor.whiteLight : AppColor.blueNormal,
|
||||
BlendMode.srcIn,
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 2),
|
||||
|
||||
Reference in New Issue
Block a user