showQudsModalBottomSheet<T> function
Future<T?>
showQudsModalBottomSheet<T>(
- BuildContext context,
- Widget builder(
- BuildContext context
- EdgeInsets? contentPadding,
- String? titleText,
- Widget? title,
Show modal bottom sheet with buatiful container.
Implementation
Future<T?> showQudsModalBottomSheet<T>(
BuildContext context, Widget Function(BuildContext context) builder,
{EdgeInsets? contentPadding, String? titleText, Widget? title}) async =>
await showModalBottomSheet<T>(
backgroundColor: Colors.transparent,
context: context,
builder: (c) => _BottomSheetContainer(
child: builder(c),
contentPadding: contentPadding,
title: title,
titleText: titleText,
));