ui/component/nui_bottom_sheet_widget library

Functions

showNUIBottomSheet({required BuildContext context, bool dismissible = true, Color? barrierColor, double opacity = 0.4, required BottomSheetBuilder content, double elevation = 0, Function? onDismiss}) NUIBottomSheet
showNUIBottomSheetByItem({required BuildContext context, required NUIBottomSheetItem item}) NUIBottomSheet
showNUIBottomSheetForResult<T>({required BuildContext context, bool dismissible = true, Color? barrierColor, double opacity = 0.4, required BottomSheetBuilder content, double elevation = 0, Function? onDismiss}) Future<T?>

Typedefs

BottomSheetBuilder = Widget Function(BuildContext context)
BottomSheetDismissCallback = void Function(Function onDismiss)