Show disclaimer when enabling dev tools
This commit is contained in:
@ -10,6 +10,10 @@ class ConfirmDialog extends StatelessWidget {
|
||||
final void Function() onConfirm;
|
||||
const ConfirmDialog({Key? key, required this.title, this.content = "", this.icon, this.confirmButton = "Ok", this.cancelButton = "Abbrechen", required this.onConfirm}) : super(key: key);
|
||||
|
||||
void asDialog(BuildContext context) {
|
||||
showDialog(context: context, builder: (context) => build(context));
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return AlertDialog(
|
||||
|
Reference in New Issue
Block a user