showDefaultModalBottom method
void
showDefaultModalBottom({})
Implementation
void showDefaultModalBottom({
String? illustration,
String? title,
String? message,
String? buttonTitle,
Function()? onPressed,
Function()? onComplete,
Function()? onBackButton,
Function()? onCloseButton,
bool isDismissible = true,
bool showCloseButton = false,
}) {
showModalBottom(
isDismissible: isDismissible,
content: PopScope(
onPopInvoked: onBackButton?.call(),
child: DefaultModal(
illustration: illustration,
title: title,
message: message,
buttonTitle: buttonTitle,
onPressed: onPressed,
showCloseButton: showCloseButton,
onCloseButton: onCloseButton,
),
),
);
}