show method

Future<ResultType?> show()

Implementation

Future<ResultType?> show() async {
  if (context is StatefulElement && !context.mounted) {
    return null;
  }

  return showModalBottomSheet<ResultType>(
    context: context,
    isScrollControlled: true,
    enableDrag: enableDrag,
    isDismissible: isDismissible,
    useSafeArea: useSafeArea,
    backgroundColor: Colors.transparent,
    builder: _buildSheet,
    elevation: elevation,
    shape: shape,
    clipBehavior: clipBehavior,
    constraints: constraints,
    barrierColor: barrierColor,
    useRootNavigator: useRootNavigator,
    routeSettings: routeSettings,
    transitionAnimationController: transitionAnimationController,
    anchorPoint: anchorPoint,
  );
}