|
|
|
|
@ -46,7 +46,6 @@ class _ListSelectDialogState extends State<ListSelectDialog> {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
showAlertDialog(BuildContext context) {
|
|
|
|
|
// set up the buttons
|
|
|
|
|
Widget cancelButton = FlatButton(
|
|
|
|
|
child: Text(TranslationBase.of(context).cancel),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
@ -58,9 +57,7 @@ class _ListSelectDialogState extends State<ListSelectDialog> {
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
this.widget.okFunction(widget.selectedValue);
|
|
|
|
|
});
|
|
|
|
|
// set up the AlertDialog
|
|
|
|
|
AlertDialog alert = AlertDialog(
|
|
|
|
|
// title: Text(widget.title),
|
|
|
|
|
content: createDialogList(),
|
|
|
|
|
actions: [
|
|
|
|
|
cancelButton,
|
|
|
|
|
|