show method

Future<int?> show({
  1. DialogType? type,
  2. Image? image,
  3. String? title,
  4. String? description,
  5. Widget? content,
  6. List<Widget>? buttons,
})

Implementation

Future<int?> show(
    {DialogType? type,
    Image? image,
    String? title,
    String? description,
    Widget? content,
    List<Widget>? buttons}) async {
  if (context == null) return null;
  return DialogManager.show(context!,
      type: type,
      image: image,
      title: title,
      description: description,
      content: content,
      buttons: buttons);
}