import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import '../../../../app_settings/app_colors.dart'; import '../../../../tools/submitBtn.dart'; import '../../../../tools/titleAppBar.dart'; import '../../../../translations/trans_lib.dart'; class LockEscalationPage extends StatefulWidget { const LockEscalationPage({Key? key}) : super(key: key); @override State createState() => _LockEscalationPageState(); } class _LockEscalationPageState extends State { @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Colors.white, appBar: TitleAppBar(barTitle: TranslationLoader.lanKeys!.lockEscalation!.tr, haveBack:true, backgroundColor: AppColors.mainColor), body:Container( padding: EdgeInsets.all(30.w), child: Column( children: [ SizedBox(height: 60.h,), Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Image.asset('images/main/icon_main_lockSet_lockEscalation.png', width: 40.w, height: 40.w,), SizedBox(width: 10.w,), Text(TranslationLoader.lanKeys!.haveNewVersion!.tr, style: TextStyle(fontSize: 36.sp, fontWeight: FontWeight.w600),) ], ), SizedBox(height: 30.h,), Text("${TranslationLoader.lanKeys!.currentVersion!.tr}:1.0.0"), SizedBox(height: 10.h,), Text("${TranslationLoader.lanKeys!.newVersion!.tr}:1.0.1", style: TextStyle(color: AppColors.mainColor),), SizedBox(height: 30.h,), SubmitBtn(btnName: TranslationLoader.lanKeys!.upgrade!.tr, borderRadius: 20.w, fontSize: 32.sp, // margin: EdgeInsets.only(left: 03.w, right: 30.w, top: 20.w), padding: EdgeInsets.only(top: 20.w, bottom: 20.w), onClick: () { } ), ], ), ) ); } }