This commit is contained in:
PhyoThandar
2020-10-08 15:59:45 +06:30
parent 169a782ecc
commit cbe50f3cbf

View File

@@ -188,15 +188,23 @@ class _ProfileState extends State<Profile> {
} }
Widget getShippingAddressList(BuildContext context) { Widget getShippingAddressList(BuildContext context) {
var languageModel = Provider.of<LanguageModel>(context);
return ListTileTheme( return ListTileTheme(
contentPadding: EdgeInsets.all(10), contentPadding: EdgeInsets.all(10),
child: ExpansionTile( child: ExpansionTile(
title: Text( title: Text(
getLocalString(context, 'delivery_addresses'), getLocalString(context, 'delivery_addresses'),
style: TextStyle( style: languageModel.isEng
fontWeight: FontWeight.bold, ? TextStyle(
fontStyle: FontStyle.normal, fontSize: 16.0,
fontSize: 14), fontWeight: FontWeight.bold,
fontStyle: FontStyle.normal,
)
: TextStyle(
fontSize: 15.0,
fontWeight: FontWeight.bold,
fontStyle: FontStyle.normal,
fontFamily: "Myanmar3"),
), ),
children: <Widget>[ children: <Widget>[
showDeliveryAddress(_deliveryAddress), showDeliveryAddress(_deliveryAddress),