Skip to content

Commit 5a4a73a

Browse files
committed
Change actions of showModalActionSheet to nullable
1 parent 816ac6c commit 5a4a73a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/modal_action_sheet.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import 'extensions/extensions.dart';
66

77
Future<T> showModalActionSheet<T>({
88
@required BuildContext context,
9-
@required List<SheetAction<T>> actions,
109
String title,
1110
String message,
11+
List<SheetAction<T>> actions = const [],
1212
String cancelLabel,
1313
AdaptiveStyle style = AdaptiveStyle.adaptive,
1414
bool isDismissible = true,

0 commit comments

Comments
 (0)