selfprivacy.org.app/lib/ui/helpers/modals.dart

15 lines
442 B
Dart
Raw Normal View History

2021-06-20 21:08:52 +00:00
import 'package:flutter/material.dart';
import 'package:modal_bottom_sheet/modal_bottom_sheet.dart';
Future<T?> showBrandBottomSheet<T>({
required BuildContext context,
required WidgetBuilder builder,
}) =>
showCupertinoModalBottomSheet<T>(
builder: builder,
barrierColor: Colors.black45,
context: context,
2022-05-24 18:55:39 +00:00
shadow: const BoxShadow(color: Colors.transparent),
2021-06-20 21:08:52 +00:00
backgroundColor: Colors.transparent,
);