showBottomSheet method
Implementation
Future<T?> showBottomSheet(
Widget child, {
bool isScrollControlled = true,
Color? backgroundColor,
Color? barrierColor,
}) async {
return await showModalBottomSheet<T>(
context: this,
barrierColor: barrierColor,
isScrollControlled: isScrollControlled,
backgroundColor: backgroundColor,
clipBehavior: Clip.antiAlias,
builder: (context) => Wrap(
clipBehavior: Clip.antiAlias,
children: [child],
),
);
}