show static method

Future<int?> show(
  1. BuildContext context, {
  2. DialogType? type,
  3. Image? image,
  4. String? title,
  5. String? description,
  6. Widget? content,
  7. 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;
}