show static method
Future<int?>
show(
- BuildContext context, {
- DialogType? type,
- Image? image,
- String? title,
- String? description,
- Widget? content,
- List<
Widget> ? buttons,
Implementation
static Future<int?> show(BuildContext context,
{DialogType? type,
Image? image,
String? title,
String? description,
Widget? content,
List<Widget>? buttons}) async {
AlertResponse result =
await _show(context, type, image, title, description, content, buttons);
return result.pressed;
}