show method

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

Implementation

Future<R?> show(BuildContext context) async {
  if (Platform.isIOS) {
    // VibrationHandler().popup(); todo: should vibrate
  }
  return showModalBottomSheet<R>(
    context: context,
    isScrollControlled: true,
    backgroundColor: Colors.transparent,
    builder: (context) => base(
      context,
      child: self(context),
    ),
  ).catchError(log.e);
}