diff --git a/star_lock/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/star_lock/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index c87d15a3..f3d88ace 100644 --- a/star_lock/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/star_lock/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -40,7 +40,7 @@ { children: [ Image.asset( "images/icon_main_1024.png", - width: 200.w, - height: 200.w, + width: 160.w, + height: 160.w, ), ], ), SizedBox( - height: 30.h, + height: 20.h, + ), + Text( + "星锁 1.0.0", + style: TextStyle(fontSize: 24.sp, color: AppColors.blackColor), ), - const Text("通通锁 6.7.0"), SizedBox( - height: 80.h, + height: 60.h, ), CommonItem( leftTitel: TranslationLoader.lanKeys!.introduce!.tr, diff --git a/star_lock/lib/mine/message/messageList_page.dart b/star_lock/lib/mine/message/messageList_page.dart index 5cfea2a2..af201f3d 100644 --- a/star_lock/lib/mine/message/messageList_page.dart +++ b/star_lock/lib/mine/message/messageList_page.dart @@ -26,8 +26,8 @@ class _MessageListPageState extends State { body: ListView.builder( itemCount: 10, itemBuilder: (c, index) { - return _seletGatewayListListItem('images/icon_lockGroup_item.png', - "您的钥匙已发送成功", "2023.6.21 11.15", () { + return _seletGatewayListListItem( + 'images/controls_user.png', "您的钥匙已发送成功", "2023.6.21 11.15", () { // Navigator.pushNamed(context, Routers.gatewayConfigurationWifiPage); }); }), @@ -39,10 +39,10 @@ class _MessageListPageState extends State { return GestureDetector( onTap: action, child: Container( - // height: 100.h, + height: 90.h, margin: const EdgeInsets.only(bottom: 2), - padding: - EdgeInsets.only(left: 10.w, right: 20.w, top: 20.h, bottom: 20.h), + // padding: + // EdgeInsets.only(left: 10.w, right: 20.w, top: 20.h, bottom: 20.h), decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.circular(10.w), @@ -54,8 +54,8 @@ class _MessageListPageState extends State { ), Image.asset( lockTypeIcon, - width: 80.w, - height: 80.w, + width: 50.w, + height: 50.w, ), SizedBox( width: 20.w, @@ -64,33 +64,29 @@ class _MessageListPageState extends State { child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - Container( - // color: Colors.red, - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text( - gateWayName, - style: TextStyle( - fontSize: 32.sp, fontWeight: FontWeight.w500), - ), - ], - ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + gateWayName, + style: TextStyle( + fontSize: 22.sp, color: AppColors.blackColor), + ), + ], ), SizedBox(height: 5.h), - Container( - child: Row( - mainAxisAlignment: MainAxisAlignment.start, - children: [ - // Image.asset('images/mine/icon_mine_gatewaySignal_strong.png', width: 40.w, height: 40.w,), - // SizedBox(width: 10.w,), - Text( - networkSignal, - style: TextStyle( - fontSize: 28.sp, fontWeight: FontWeight.w500), - ), - ], - ), + Row( + mainAxisAlignment: MainAxisAlignment.start, + children: [ + // Image.asset('images/mine/icon_mine_gatewaySignal_strong.png', width: 40.w, height: 40.w,), + // SizedBox(width: 10.w,), + Text( + networkSignal, + style: TextStyle( + fontSize: 18.sp, + color: AppColors.placeholderTextColor), + ), + ], ), SizedBox(width: 20.h), ], diff --git a/star_lock/lib/mine/mineSet/lockGroup/lockItemList_page.dart b/star_lock/lib/mine/mineSet/lockGroup/lockItemList_page.dart index 92ebb0c0..07491526 100644 --- a/star_lock/lib/mine/mineSet/lockGroup/lockItemList_page.dart +++ b/star_lock/lib/mine/mineSet/lockGroup/lockItemList_page.dart @@ -54,7 +54,7 @@ class _LockItemListPageState extends State { return GestureDetector( child: Container( color: Colors.white, - height: 70.h, + height: 80.h, child: Row( mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.center, @@ -64,16 +64,16 @@ class _LockItemListPageState extends State { ), Image.asset( 'images/icon_lockGroup_item.png', - width: 30, - height: 30, + width: 36, + height: 36, fit: BoxFit.fill, ), SizedBox( width: 10.w, ), - const Text( + Text( 'Daisy', - style: TextStyle(fontSize: 14), + style: TextStyle(fontSize: 24.sp), ) ], ), diff --git a/star_lock/lib/mine/mineSet/lockUserManage/ownedKeyList_page.dart b/star_lock/lib/mine/mineSet/lockUserManage/ownedKeyList_page.dart index 20d5c8b1..e85c34f6 100644 --- a/star_lock/lib/mine/mineSet/lockUserManage/ownedKeyList_page.dart +++ b/star_lock/lib/mine/mineSet/lockUserManage/ownedKeyList_page.dart @@ -53,7 +53,7 @@ class _OwnedKeyListPageState extends State { itemBuilder: (c, index) { return _electronicKeyItem('images/controls_user.png', "JBL01_5a3de9", "2023.6.21 11.15", "2023.6.21 11.15", () { - Navigator.pushNamed(context, Routers.authorizedAdminDetailPage); + // Navigator.pushNamed(context, Routers.authorizedAdminDetailPage); }); }); } diff --git a/star_lock/lib/mine/mineSet/transferSmartLock/transferSmartLock_page.dart b/star_lock/lib/mine/mineSet/transferSmartLock/transferSmartLock_page.dart index dfa010fb..736c3201 100644 --- a/star_lock/lib/mine/mineSet/transferSmartLock/transferSmartLock_page.dart +++ b/star_lock/lib/mine/mineSet/transferSmartLock/transferSmartLock_page.dart @@ -121,8 +121,8 @@ class _TransferSmartLockPageState extends State { GestureDetector( child: Image.asset( 'images/icon_round_unSelet.png', - width: 16, - height: 16, + width: 22, + height: 22, ), ), SizedBox( @@ -130,8 +130,8 @@ class _TransferSmartLockPageState extends State { ), Image.asset( 'images/icon_lockGroup_item.png', - width: 30, - height: 30, + width: 36, + height: 36, fit: BoxFit.fill, ), SizedBox( @@ -139,7 +139,7 @@ class _TransferSmartLockPageState extends State { ), Text( 'Daisy', - style: TextStyle(fontSize: 22.sp), + style: TextStyle(fontSize: 22.sp, color: AppColors.blackColor), ) ], ), diff --git a/star_lock/lib/mine/valueAddedServices/valueAddedServicesBuy/valueAddedServicesBuy_page.dart b/star_lock/lib/mine/valueAddedServices/valueAddedServicesBuy/valueAddedServicesBuy_page.dart index 92bf8c84..acd02cf3 100644 --- a/star_lock/lib/mine/valueAddedServices/valueAddedServicesBuy/valueAddedServicesBuy_page.dart +++ b/star_lock/lib/mine/valueAddedServices/valueAddedServicesBuy/valueAddedServicesBuy_page.dart @@ -28,7 +28,7 @@ class _ValueAddedServicesBuyPageState extends State { var type = ModalRoute.of(context)?.settings.arguments as int; return Scaffold( - backgroundColor: Colors.white, + backgroundColor: AppColors.greyBackgroundColor, appBar: TitleAppBar( barTitle: _getNavTitle(type), haveBack: true, @@ -51,13 +51,16 @@ class _ValueAddedServicesBuyPageState extends State { ], )), Expanded( - child: GridView.count( - padding: EdgeInsets.all(10.w), - crossAxisCount: 2, - mainAxisSpacing: 10.h, - crossAxisSpacing: 10.w, - childAspectRatio: 1 / 0.5, - children: data.map((title) => _buildItem(title)).toList(), + child: Container( + color: Colors.white, + child: GridView.count( + padding: EdgeInsets.all(10.w), + crossAxisCount: 2, + mainAxisSpacing: 10.h, + crossAxisSpacing: 10.w, + childAspectRatio: 1 / 0.5, + children: data.map((title) => _buildItem(title)).toList(), + ), ), ), Container( @@ -69,7 +72,10 @@ class _ValueAddedServicesBuyPageState extends State { children: [ Text( TranslationLoader.lanKeys!.modeOfPayment!.tr, - style: TextStyle(fontSize: 32.sp), + style: TextStyle( + fontSize: 24.sp, + color: AppColors.blackColor, + fontWeight: FontWeight.w500), ), SizedBox( height: 20.h, @@ -78,14 +84,14 @@ class _ValueAddedServicesBuyPageState extends State { children: [ Image.asset( 'images/mine/icon_mine_valueAddedServices_zfb.png', - width: 40.w, - height: 40.w, + width: 30.w, + height: 30.w, ), SizedBox(width: 20.w), Expanded( child: Text(TranslationLoader.lanKeys!.alipay!.tr, style: TextStyle( - fontSize: 28.sp, fontWeight: FontWeight.w500))), + fontSize: 24.sp, color: AppColors.blackColor))), SizedBox(width: 5.w), Image.asset( 'images/icon_round_selet.png', @@ -105,7 +111,7 @@ class _ValueAddedServicesBuyPageState extends State { color: const Color(0xFFF5F5F5), ), Container( - height: 100.h, + height: 80.h, color: Colors.white, child: Row( children: [ @@ -113,7 +119,7 @@ class _ValueAddedServicesBuyPageState extends State { Expanded( child: Text("¥50", style: TextStyle( - fontSize: 36.sp, + fontSize: 24.sp, color: AppColors.mainColor, fontWeight: FontWeight.w500))), SizedBox(width: 5.w), @@ -124,11 +130,14 @@ class _ValueAddedServicesBuyPageState extends State { child: Center( child: Text(TranslationLoader.lanKeys!.goToPay!.tr, style: TextStyle( - fontSize: 32.sp, + fontSize: 24.sp, color: Colors.white, fontWeight: FontWeight.w500)))) ], ), + ), + SizedBox( + height: 30.h, ) ], ), @@ -148,12 +157,13 @@ class _ValueAddedServicesBuyPageState extends State { children: [ Text( "500条", - style: TextStyle(fontSize: 36.sp), + style: TextStyle(fontSize: 24.sp, color: AppColors.blackColor), ), SizedBox(height: 10.h), Text( "¥50 (¥0.08/条)", - style: TextStyle(fontSize: 32.sp), + style: TextStyle( + fontSize: 20.sp, color: AppColors.placeholderTextColor), ), ], ), diff --git a/star_lock/lib/mine/valueAddedServices/valueAddedServicesBuyAndUseRecord/valueAddedServicesBuyAndUseRecord_page.dart b/star_lock/lib/mine/valueAddedServices/valueAddedServicesBuyAndUseRecord/valueAddedServicesBuyAndUseRecord_page.dart index 1373c60f..c939af17 100644 --- a/star_lock/lib/mine/valueAddedServices/valueAddedServicesBuyAndUseRecord/valueAddedServicesBuyAndUseRecord_page.dart +++ b/star_lock/lib/mine/valueAddedServices/valueAddedServicesBuyAndUseRecord/valueAddedServicesBuyAndUseRecord_page.dart @@ -1,4 +1,3 @@ - import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:star_lock/app_settings/app_colors.dart'; @@ -6,84 +5,107 @@ import 'package:star_lock/app_settings/app_colors.dart'; class ValueAddedServicesBuyAndUseRecordPage extends StatefulWidget { final String type; - const ValueAddedServicesBuyAndUseRecordPage({Key? key, required this.type}) : super(key: key); + const ValueAddedServicesBuyAndUseRecordPage({Key? key, required this.type}) + : super(key: key); @override - State createState() => _ValueAddedServicesBuyAndUseRecordPageState(); + State createState() => + _ValueAddedServicesBuyAndUseRecordPageState(); } -class _ValueAddedServicesBuyAndUseRecordPageState extends State { +class _ValueAddedServicesBuyAndUseRecordPageState + extends State { @override Widget build(BuildContext context) { return ListView.builder( - itemCount:20, - itemBuilder: (c, index){ - if(index%2 == 0){ + itemCount: 20, + itemBuilder: (c, index) { + if (index % 2 == 0) { return _dateItem("2023-06-29"); - }else{ - return _operatingRecordItem('images/icon_lock.png', "张三", "2023.6.21 11.15", "2023.6.21 11.15",(){ + } else { + return _operatingRecordItem('images/controls_user.png', "张三", + "2023.6.21 11.15", "2023.6.21 11.15", () { // Navigator.pushNamed(context, Routers.electronicKeyDetailPage); }); } - } - ); + }); } - Widget _dateItem(String lockDate){ + Widget _dateItem(String lockDate) { return Container( - height: 70.h, + height: 60.h, color: AppColors.mainBackgroundColor, - padding: EdgeInsets.only(left:20.h, right: 20.h), + padding: EdgeInsets.only(left: 20.h, right: 20.h), child: Row( children: [ - Text(lockDate, style: TextStyle(fontSize: 32.sp, fontWeight: FontWeight.w500), ), + Text( + lockDate, + style: TextStyle(fontSize: 24.sp, color: AppColors.blackColor), + ), ], ), ); } - Widget _operatingRecordItem(String lockTypeIcon, String lockTypeTitle, String beginTime, String endTime, Function() action){ + Widget _operatingRecordItem(String lockTypeIcon, String lockTypeTitle, + String beginTime, String endTime, Function() action) { return GestureDetector( onTap: action, child: Container( - height: 110.h, - padding: EdgeInsets.only(left: 20.w, right: 20.w), - decoration: BoxDecoration( + height: 90.h, + // padding: EdgeInsets.only(left: 20.w, right: 20.w), + decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.circular(10.w), ), child: Row( children: [ - SizedBox(width: 30.w,), - Image.asset(lockTypeIcon, width: 50.w, height: 50.w,), - SizedBox(width: 30.w,), + SizedBox( + width: 30.w, + ), + Image.asset( + lockTypeIcon, + width: 50.w, + height: 50.w, + ), + SizedBox( + width: 20.w, + ), Expanded( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Row( children: [ - Text(lockTypeTitle, style: TextStyle(fontSize: 32.sp, fontWeight: FontWeight.w500), ), + Text( + lockTypeTitle, + style: TextStyle( + fontSize: 24.sp, color: AppColors.blackColor), + ), ], ), - SizedBox(height:10.h), + SizedBox(height: 10.h), Container( child: Row( mainAxisAlignment: MainAxisAlignment.start, children: [ - Text("2023.6.21 11.15", style: TextStyle(fontSize: 28.sp, fontWeight: FontWeight.w500), ), + Text( + "2023.6.21 11.15", + style: TextStyle( + fontSize: 20.sp, + color: AppColors.darkGrayTextColor), + ), ], ), ), - SizedBox(width:20.h), + SizedBox(width: 20.h), ], ), ), - SizedBox(width:20.h), + SizedBox(width: 20.h), ], ), ), ); } - } diff --git a/star_lock/lib/mine/valueAddedServices/valueAddedServicesEmailTemplate/valueAddedServicesAddEmailTemplate/valueAddedServicesAddEmailTemplate_page.dart b/star_lock/lib/mine/valueAddedServices/valueAddedServicesEmailTemplate/valueAddedServicesAddEmailTemplate/valueAddedServicesAddEmailTemplate_page.dart index be2a16a7..aec6c818 100644 --- a/star_lock/lib/mine/valueAddedServices/valueAddedServicesEmailTemplate/valueAddedServicesAddEmailTemplate/valueAddedServicesAddEmailTemplate_page.dart +++ b/star_lock/lib/mine/valueAddedServices/valueAddedServicesEmailTemplate/valueAddedServicesAddEmailTemplate/valueAddedServicesAddEmailTemplate_page.dart @@ -1,4 +1,3 @@ - import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; @@ -11,58 +10,89 @@ import '../../../../tools/titleAppBar.dart'; import '../../../../translations/trans_lib.dart'; //高亮样式 -final TextStyle highStyle = TextStyle(color: const Color(0xFFEEDFA8), fontSize: 28.sp); +final TextStyle highStyle = + TextStyle(color: const Color(0xFFEEDFA8), fontSize: 20.sp); //默认样式 -final TextStyle defaultStyle = TextStyle(color: Colors.black, fontSize: 28.sp); +final TextStyle defaultStyle = TextStyle(color: Colors.black, fontSize: 20.sp); //预览样式封装-密码 InlineSpan emailPasswardSpan = TextSpan(children: [ - TextSpan(text: '${TranslationLoader.lanKeys!.hello!.tr},${TranslationLoader.lanKeys!.yourRoomIs!.tr}:', style: defaultStyle), - TextSpan(text: '{${TranslationLoader.lanKeys!.roomName!.tr}', style: highStyle), - TextSpan(text: ',${TranslationLoader.lanKeys!.theCodeToOpenTheDoorIs!.tr}:', style: defaultStyle), - TextSpan(text: '{${TranslationLoader.lanKeys!.password!.tr}}', style: highStyle), - TextSpan(text: '。${TranslationLoader.lanKeys!.periodValidity!.tr}:', style: defaultStyle), - TextSpan(text: '{${TranslationLoader.lanKeys!.periodValidity!.tr}}', style: highStyle), - TextSpan(text: '。${TranslationLoader.lanKeys!.templateTip1!.tr}。', style: defaultStyle), + TextSpan( + text: + '${TranslationLoader.lanKeys!.hello!.tr},${TranslationLoader.lanKeys!.yourRoomIs!.tr}:', + style: defaultStyle), + TextSpan( + text: '{${TranslationLoader.lanKeys!.roomName!.tr}', style: highStyle), + TextSpan( + text: ',${TranslationLoader.lanKeys!.theCodeToOpenTheDoorIs!.tr}:', + style: defaultStyle), + TextSpan( + text: '{${TranslationLoader.lanKeys!.password!.tr}}', style: highStyle), + TextSpan( + text: '。${TranslationLoader.lanKeys!.periodValidity!.tr}:', + style: defaultStyle), + TextSpan( + text: '{${TranslationLoader.lanKeys!.periodValidity!.tr}}', + style: highStyle), + TextSpan( + text: '。${TranslationLoader.lanKeys!.templateTip1!.tr}。', + style: defaultStyle), ]); //预览样式封装-密码提示 InlineSpan emailPasswardTipSpan = TextSpan(children: [ - TextSpan(text: TranslationLoader.lanKeys!.templateTip4!.tr, style: defaultStyle), - TextSpan(text: '{${TranslationLoader.lanKeys!.roomName!.tr}}', style: highStyle), + TextSpan( + text: TranslationLoader.lanKeys!.templateTip4!.tr, style: defaultStyle), + TextSpan( + text: '{${TranslationLoader.lanKeys!.roomName!.tr}}', style: highStyle), TextSpan(text: '、', style: defaultStyle), - TextSpan(text: '{${TranslationLoader.lanKeys!.password!.tr}}', style: highStyle), - TextSpan(text: TranslationLoader.lanKeys!.and!.tr, style: defaultStyle), - TextSpan(text: '{${TranslationLoader.lanKeys!.periodValidity!.tr}}', style: highStyle), - TextSpan(text: TranslationLoader.lanKeys!.willBeReplacedWithTheActualValue!.tr, style: defaultStyle), + TextSpan( + text: '{${TranslationLoader.lanKeys!.password!.tr}}', style: highStyle), + TextSpan(text: TranslationLoader.lanKeys!.and!.tr, style: defaultStyle), + TextSpan( + text: '{${TranslationLoader.lanKeys!.periodValidity!.tr}}', + style: highStyle), + TextSpan( + text: TranslationLoader.lanKeys!.willBeReplacedWithTheActualValue!.tr, + style: defaultStyle), ]); -String emaiPasswardStr = "${TranslationLoader.lanKeys!.hello!.tr},${TranslationLoader.lanKeys!.yourRoomIs!.tr}:{${TranslationLoader.lanKeys!.roomName!.tr}},${TranslationLoader.lanKeys!.theCodeToOpenTheDoorIs!.tr}:{${TranslationLoader.lanKeys!.password!.tr}}。${TranslationLoader.lanKeys!.periodValidity!.tr}:{${TranslationLoader.lanKeys!.periodValidity!.tr}}。${TranslationLoader.lanKeys!.templateTip1!.tr}"; +String emaiPasswardStr = + "${TranslationLoader.lanKeys!.hello!.tr},${TranslationLoader.lanKeys!.yourRoomIs!.tr}:{${TranslationLoader.lanKeys!.roomName!.tr}},${TranslationLoader.lanKeys!.theCodeToOpenTheDoorIs!.tr}:{${TranslationLoader.lanKeys!.password!.tr}}。${TranslationLoader.lanKeys!.periodValidity!.tr}:{${TranslationLoader.lanKeys!.periodValidity!.tr}}。${TranslationLoader.lanKeys!.templateTip1!.tr}"; //预览样式封装-电子钥匙 InlineSpan emailElectronicKeySpan = TextSpan(children: [ - TextSpan(text: TranslationLoader.lanKeys!.templateTip2!.tr, style: defaultStyle), + TextSpan( + text: TranslationLoader.lanKeys!.templateTip2!.tr, style: defaultStyle), TextSpan(text: 'https://abc.com/bcd', style: highStyle) ]); //预览样式封装-电子钥匙提示 InlineSpan emailElectronicKeyTipSpan = TextSpan(children: [ - TextSpan(text: TranslationLoader.lanKeys!.templateTip4!.tr, style: defaultStyle), - TextSpan(text: '{${TranslationLoader.lanKeys!.downloadLink!.tr}', style: highStyle), - TextSpan(text: TranslationLoader.lanKeys!.willBeReplacedWithTheActualValue!.tr, style: defaultStyle), + TextSpan( + text: TranslationLoader.lanKeys!.templateTip4!.tr, style: defaultStyle), + TextSpan( + text: '{${TranslationLoader.lanKeys!.downloadLink!.tr}', + style: highStyle), + TextSpan( + text: TranslationLoader.lanKeys!.willBeReplacedWithTheActualValue!.tr, + style: defaultStyle), ]); -String emailElectronicKeyStr = "${TranslationLoader.lanKeys!.templateTip2!.tr}\n{${TranslationLoader.lanKeys!.downloadLink!.tr}}"; +String emailElectronicKeyStr = + "${TranslationLoader.lanKeys!.templateTip2!.tr}\n{${TranslationLoader.lanKeys!.downloadLink!.tr}}"; class ValueAddedServicesAddEmailTemplatePage extends StatefulWidget { const ValueAddedServicesAddEmailTemplatePage({Key? key}) : super(key: key); @override - State createState() => _ValueAddedServicesAddEmailTemplatePageState(); + State createState() => + _ValueAddedServicesAddEmailTemplatePageState(); } -class _ValueAddedServicesAddEmailTemplatePageState extends State { +class _ValueAddedServicesAddEmailTemplatePageState + extends State { final _templateOneTf = TextEditingController(); final _templateNameTf = TextEditingController(); @@ -77,34 +107,52 @@ class _ValueAddedServicesAddEmailTemplatePageState extends State createState() => _ValueAddedServicesListEmailTemplatePageState(); + State createState() => + _ValueAddedServicesListEmailTemplatePageState(); } -class _ValueAddedServicesListEmailTemplatePageState extends State { +class _ValueAddedServicesListEmailTemplatePageState + extends State { @override Widget build(BuildContext context) { return Scaffold( backgroundColor: AppColors.mainBackgroundColor, - appBar: TitleAppBar(barTitle: TranslationLoader.lanKeys!.customMailTemplate!.tr, haveBack:true, backgroundColor: AppColors.mainColor), + appBar: TitleAppBar( + barTitle: TranslationLoader.lanKeys!.customMailTemplate!.tr, + haveBack: true, + backgroundColor: AppColors.mainColor), body: Column( children: [ _topTipWidget(), @@ -30,87 +34,104 @@ class _ValueAddedServicesListEmailTemplatePageState extends State createState() => _ValueAddedServicesAddSMSTemplatePageState(); + State createState() => + _ValueAddedServicesAddSMSTemplatePageState(); } -class _ValueAddedServicesAddSMSTemplatePageState extends State { - - +class _ValueAddedServicesAddSMSTemplatePageState + extends State { final _templateOneTf = TextEditingController(); final _templateTwoTf = TextEditingController(); final _templateNameTf = TextEditingController(); @@ -61,34 +74,55 @@ class _ValueAddedServicesAddSMSTemplatePageState extends State createState() => _ValueAddedServicesListSMSTemplatePageState(); + State createState() => + _ValueAddedServicesListSMSTemplatePageState(); } -class _ValueAddedServicesListSMSTemplatePageState extends State { +class _ValueAddedServicesListSMSTemplatePageState + extends State { @override Widget build(BuildContext context) { return Scaffold( backgroundColor: AppColors.mainBackgroundColor, - appBar: TitleAppBar(barTitle: TranslationLoader.lanKeys!.customSMSTemplate!.tr, haveBack:true, backgroundColor: AppColors.mainColor), + appBar: TitleAppBar( + barTitle: TranslationLoader.lanKeys!.customSMSTemplate!.tr, + haveBack: true, + backgroundColor: AppColors.mainColor), body: Column( children: [ _topTipWidget(), @@ -30,87 +34,107 @@ class _ValueAddedServicesListSMSTemplatePageState extends State