Open alshueiliproject opened 9 months ago
How can I change the icon and button direction from right to left ?
my code
Future<bool> promptExit() async { AwesomeDialog dlg = AwesomeDialog( context: context, dialogType: DialogType.question, animType: AnimType.bottomSlide, title: tr(context).coloseApp, desc: tr(context).coloseAppMsg, dismissOnTouchOutside: true, btnCancelOnPress: () => canExit = false, btnOkOnPress: () async { await Future.delayed(const Duration(milliseconds: 200)); Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => exit(0))); canExit = true; }, btnOkText: tr(context).yes, btnCancelText: tr(context).no, ); await dlg.show(); return Future.value(canExit); }
How can I change the icon and button direction from right to left ?
my code