show static method
Future<void>
show(
- BuildContext context, {
- String? title,
- String? message,
- required List<
ActionSheetItem> actions, - String? cancelText,
- bool showCancel = true,
Implementation
static Future<void> show(
BuildContext context, {
String? title,
String? message,
required List<ActionSheetItem> actions,
String? cancelText,
bool showCancel = true,
}) {
return showModalBottomSheet<void>(
context: context,
backgroundColor: Colors.transparent,
isScrollControlled: true,
builder: (BuildContext buildContext) {
return _createWidget(
buildContext,
title: title,
message: message,
actions: actions,
showCancel: showCancel,
cancelText: cancelText);
},
);
}