showBaseBottomSheet<T> function

Future<T?> showBaseBottomSheet<T>(
  1. Widget widget, {
  2. bool isScrollControlled = false,
  3. BottomSheetOptions? options,
})

showBottomPopup 移除背景色 关闭滑动手势

Implementation

Future<T?> showBaseBottomSheet<T>(Widget widget,
        {bool isScrollControlled = false, BottomSheetOptions? options}) =>
    widget.popupBottomSheet<T>(
        options: BottomSheetOptions(
                backgroundColor: UCS.transparent,
                enableDrag: false,
                isScrollControlled: isScrollControlled)
            .merge(options));