show static method
CancelFunc
show({})
Implementation
static CancelFunc show({
String? title = '',
String? text,
List<Widget>? widgets,
List<Widget>? actions,
VoidCallback? onClose,
bool iconClose = true,
}) {
CancelFunc? cancel;
cancel = BotToast.showAttachedWidget(
allowClick: false,
onClose: onClose,
onlyOne: false,
attachedBuilder:
(_) => _ColabDialogBottomSheet(
title: title,
text: text,
widgets: widgets,
actions: actions,
cancel: cancel!,
iconClose: iconClose,
),
backgroundColor: backdropColor,
target: Offset(0, 0),
);
return cancel;
}