|
|
|
|
@ -42,12 +42,12 @@ class _MasterKeyDailogState extends State<MasterKeyDailog> {
|
|
|
|
|
showAlertDialog(BuildContext context, ProjectViewModel projectViewModel) {
|
|
|
|
|
// set up the buttons
|
|
|
|
|
Widget cancelButton = FlatButton(
|
|
|
|
|
child: AppText(TranslationBase.of(context).cancel, color: Colors.grey,fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 5,),
|
|
|
|
|
child: AppText(TranslationBase.of(context).cancel, color: Colors.grey,fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * (SizeConfig.isWidthLarge?3.5:5),),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
});
|
|
|
|
|
Widget continueButton = FlatButton(
|
|
|
|
|
child: AppText(this.widget.okText, color: Colors.grey,fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 5,),
|
|
|
|
|
child: AppText(this.widget.okText, color: Colors.grey,fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * (SizeConfig.isWidthLarge?3.5:5),),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
this.widget.okFunction(widget.selectedValue);
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
|