mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-18 14:49:15 +00:00
15 lines
436 B
Dart
15 lines
436 B
Dart
|
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,
|
||
|
shadow: BoxShadow(color: Colors.transparent),
|
||
|
backgroundColor: Colors.transparent,
|
||
|
);
|