Show disclaimer when enabling dev tools
This commit is contained in:
1 parent
fb839eb458
commit
187d7bfa36
2 files changed
+22
-1
No files matched your search
@@ -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