show static method

Future<DraftAction?> show(
  1. BuildContext context
)

Shows the sheet and completes with the chosen DraftAction.

Implementation

static Future<DraftAction?> show(BuildContext context) {
  return showModalBottomSheet<DraftAction>(
    context: context,
    shape: VideoEditorComponents.bottomSheetShape(),
    backgroundColor: VideoEditorColors.surface,
    builder: (_) => const SaveDraftSheet(),
  );
}