add fcs shipment apis

This commit is contained in:
Sai Naw Wun
2020-10-08 03:32:52 +06:30
parent ad1999f5c9
commit 6105b45cb8
23 changed files with 442 additions and 531 deletions

View File

@@ -60,13 +60,13 @@ class _ProfileState extends State<Profile> {
}
final namebox = DisplayText(
text: mainModel.user.name,
labelText: getLocalString(context, "profile.name"),
labelTextKey: getLocalString(context, "profile.name"),
iconData: Icons.person,
);
final phonenumberbox = DisplayText(
text: mainModel.user.phone,
labelText: getLocalString(context, "profile.phone"),
labelTextKey: getLocalString(context, "profile.phone"),
iconData: Icons.phone,
);
final fcsIDBox = Row(
@@ -74,7 +74,7 @@ class _ProfileState extends State<Profile> {
Expanded(
child: DisplayText(
text: mainModel.user.fcsID,
labelText: getLocalString(context, "customer.fcs.id"),
labelTextKey: getLocalString(context, "customer.fcs.id"),
icon: FcsIDIcon(),
),
),
@@ -90,7 +90,8 @@ class _ProfileState extends State<Profile> {
Expanded(
child: DisplayText(
text: mainModel.setting.usaAddress,
labelText: getLocalString(context, "profile.usa.shipping.address"),
labelTextKey:
getLocalString(context, "profile.usa.shipping.address"),
iconData: Icons.location_on,
),
),
@@ -158,7 +159,7 @@ class _ProfileState extends State<Profile> {
usaShippingAddressBox,
DisplayText(
text: mainModel.user.status,
labelText: getLocalString(context, "customer.status"),
labelTextKey: getLocalString(context, "customer.status"),
iconData: Icons.add_alarm,
),
// getShippingAddressList(context),