showQudsModalBorderSheet<T> function
Future<T?>
showQudsModalBorderSheet<T>(
- BuildContext context,
- Widget builder(
- BuildContext context
- BorderSheetPosition borderSheetPosition = BorderSheetPosition.RespectToScreenOrientation,
- String? titleText,
- double cornerRadius = 15,
- Widget? title,
- Curve curve = Curves.fastLinearToSlowEaseIn,
- 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,
));
}