showDialogSuccessWithoutButton<T> static method

Future<T?> showDialogSuccessWithoutButton<T>({
  1. String description = '',
  2. String title = 'Berhasil',
  3. bool barrierDismissible = true,
  4. Color descColor = Colors.black87,
  5. required dynamic image,
  6. double? width,
  7. double? height,
  8. double? widthImage,
  9. double? heightImage,
  10. TextStyle? styleDesc,
})

Implementation

static Future<T?> showDialogSuccessWithoutButton<T>({
  String description = '',
  String title = 'Berhasil',
  bool barrierDismissible = true,
  Color descColor = Colors.black87,
  required image,
  double? width,
  double? height,
  double? widthImage,
  double? heightImage,
  TextStyle? styleDesc,
}) async {
  return await showDialogGeneral<T>(
    barrierDismissible: barrierDismissible,
    content: DialogContentWithoutButton(
      barrierDismissible: barrierDismissible,
      descColor: descColor,
      description: description,
      image: image,
      title: title,
      height: height,
      width: width,
      widthImage: widthImage,
      heightImage: heightImage,
      styleDesc: styleDesc,
    ),
  );
}