showQudsModalBorderSheet<T> function

Future<T?> showQudsModalBorderSheet<T>(
  1. BuildContext context,
  2. Widget builder(
    1. BuildContext context
    ), {
  3. BorderSheetPosition borderSheetPosition = BorderSheetPosition.RespectToScreenOrientation,
  4. String? titleText,
  5. double cornerRadius = 15,
  6. Widget? title,
  7. Curve curve = Curves.fastLinearToSlowEaseIn,
  8. Duration duration = const Duration(milliseconds: 500),
})

Show modal border.

Implementation

Future<T?> showQudsModalBorderSheet<T>(
    BuildContext context, Widget Function(BuildContext context) builder,
    {BorderSheetPosition borderSheetPosition =
        BorderSheetPosition.RespectToScreenOrientation,
    String? titleText,
    double cornerRadius = 15,
    Widget? title,
    Curve curve = Curves.fastLinearToSlowEaseIn,
    Duration duration = const Duration(milliseconds: 500)}) async {
  return await showDialog<T>(
      context: context,
      builder: (c) => _QudsBorderModalSheet(
            builder: builder,
            borderSheetPosition: borderSheetPosition,
            title: title,
            titleText: titleText,
            cornerRadius: cornerRadius,
            curve: curve,
            duration: duration,
          ));
}