showQudsModalBottomSheet<T> function

Future<T?> showQudsModalBottomSheet<T>(
  1. BuildContext context,
  2. Widget builder(
    1. BuildContext context
    ), {
  3. EdgeInsets? contentPadding,
  4. String? titleText,
  5. 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,
            ));