showDialogSuccessWithoutButton<T> static method
Future<T?>
showDialogSuccessWithoutButton<
T>({ - String description = '',
- String title = 'Berhasil',
- bool barrierDismissible = true,
- Color descColor = Colors.black87,
- required dynamic image,
- double? width,
- double? height,
- double? widthImage,
- double? heightImage,
- 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,
),
);
}