alert function
Implementation
void alert(BuildContext context, String title) {
showDialog(
context: context,
builder: (BuildContext context) {
return AlertDialog(
title: Text(title),
);
});
}
void alert(BuildContext context, String title) {
showDialog(
context: context,
builder: (BuildContext context) {
return AlertDialog(
title: Text(title),
);
});
}