change alert message
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
mixin ShowErrorDialog<T extends StatefulWidget> on State<T> {
|
||||
void showErrorDialog(BuildContext context, String text) {
|
||||
mixin ShowAlertDialog<T extends StatefulWidget> on State<T> {
|
||||
void showAlertDialog(BuildContext context, String title, String text) {
|
||||
// Create AlertDialog
|
||||
AlertDialog dialog = AlertDialog(
|
||||
title: Text("Error"),
|
||||
title: Text(title),
|
||||
content: Text(text),
|
||||
actions: [
|
||||
ElevatedButton(
|
||||
|
Reference in New Issue
Block a user