show<T> static method

Future<T?> show<T>(
  1. BuildContext context, {
  2. required Widget child,
  3. String? title,
})

Implementation

static Future<T?> show<T>(BuildContext context, {required Widget child, String? title}) {
  return showModalBottomSheet<T>(
    context: context,
    backgroundColor: Colors.transparent,
    isScrollControlled: true,
    builder: (_) => Theme(
      data: arsenalDarkTheme,
      child: _ArBottomSheetContent(title: title, child: child),
    ),
  );
}