From cbe50f3cbfc9d23c81aa57f87c1b70d8d7570291 Mon Sep 17 00:00:00 2001 From: PhyoThandar Date: Thu, 8 Oct 2020 15:59:45 +0630 Subject: [PATCH] merge --- lib/pages/profile/profile_page.dart | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/pages/profile/profile_page.dart b/lib/pages/profile/profile_page.dart index e51629a..55777af 100644 --- a/lib/pages/profile/profile_page.dart +++ b/lib/pages/profile/profile_page.dart @@ -188,15 +188,23 @@ class _ProfileState extends State { } Widget getShippingAddressList(BuildContext context) { + var languageModel = Provider.of(context); return ListTileTheme( contentPadding: EdgeInsets.all(10), child: ExpansionTile( title: Text( getLocalString(context, 'delivery_addresses'), - style: TextStyle( - fontWeight: FontWeight.bold, - fontStyle: FontStyle.normal, - fontSize: 14), + style: languageModel.isEng + ? TextStyle( + fontSize: 16.0, + fontWeight: FontWeight.bold, + fontStyle: FontStyle.normal, + ) + : TextStyle( + fontSize: 15.0, + fontWeight: FontWeight.bold, + fontStyle: FontStyle.normal, + fontFamily: "Myanmar3"), ), children: [ showDeliveryAddress(_deliveryAddress),