VentDialog class

Constructors

VentDialog()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

closeDialog() → dynamic
closeLoading() bool
showDialogChoice<T>({String? dialogName, VoidCallback? onTapPositiveButton, VoidCallback? onTapNegativeButton, required String description, String title = 'Uppss...', String textPositiveButton = 'Oke', String textNegativeButton = 'Tutup', String imagePath = '', bool isTitleBold = false, bool barrierDismissible = true, bool isHorizontal = true, Color? descColor, bool isQoin = false, bool isShowCloseButton = false, bool useAnimationLottie = false, double imageSize = 24, Color descColors = Colors.black87}) Future<T?>
showDialogGeneral<T>({double margin = 40, double radius = 14, Color? color, Widget? content, bool barrierDismissible = true, bool isUseTimer = false, EdgeInsetsGeometry? padding, ScrollPhysics? physics, bool isShowCloseButton = false, String? dialogName}) Future<T?>
showDialogPopUp<T>({VoidCallback? buttonOnTap, String description = '', String title = 'Berhasil', String textButton = 'Tutup', bool barrierDismissible = true, bool isUseTimer = false, bool isTitleBold = true, required String imagePath, String? dialogName, EdgeInsetsGeometry? padding, double distanceDescriptionWithButton = 20, double fontSizeTitle = 16, Color descColors = Colors.black87, double imageSize = 24}) Future<T?>
showDialogProblem<T>({VoidCallback? buttonOnTap, String description = 'Terjadi Kesalahan, Silahkan Coba Lagi', String title = 'Upss Ada Masalah', String textButton = 'Tutup', String? asset, bool barrierDismissible = true, bool isUseTimer = false, bool useAnimationLottie = false, required String imgPath, String? dialogName, Color descColors = Colors.black87, EdgeInsetsGeometry padding = const EdgeInsets.all(16), double imageSize = 24}) Future<T?>
showDialogSuccess<T>({VoidCallback? buttonOnTap, String description = '', String title = 'Berhasil', String textButton = 'Tutup', bool barrierDismissible = true, bool isQoin = false, required String image, double? imageSize = 24, bool? isUseTimer, bool useAnimationLottie = false, EdgeInsetsGeometry padding = const EdgeInsets.all(16), double distanceDescriptionWithButton = 20, TextStyle? descTextStyle, double margin = 40, Color descColors = Colors.black87}) 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}) Future<T?>
showLoading({bool barrierDismissible = false}) bool
showTwoButtonDialogProblem<T>({dynamic onTapPositiveButton()?, dynamic onTapNegativeButton()?, String description = 'Terjadi Kesalahan, Silahkan Coba Lagi', String title = 'Upss Ada Masalah', String textPositiveButton = 'Lanjutkan', String textNegativeButton = 'Tutup', String? asset, bool barrierDismissible = true, bool useAnimationLottie = false, required String customAsset, Color descColors = Colors.black87, bool isHorizontal = false, String? dialogName, double? imageSize = 24}) Future<T?>