show<T> static method
Future<T?>
show<T>({
- required BuildContext context,
- required String title,
- Color? backgroundColor,
- OpenModel? openModel,
- double? containerMaxWidth,
- double? containerMaxHeight,
- double? contentMaxWidth,
- double? contentMaxHeight,
- List<
Widget> ? actions, - bool? barrierDismissible,
- bool? showCloseBtn,
- EdgeInsetsGeometry? containerPadding,
- bool autoScroll = true,
- required Widget builder(),
Implementation
static Future<T?> show<T>({
required BuildContext context,
required String title,
Color? backgroundColor,
OpenModel? openModel,
double? containerMaxWidth,
double? containerMaxHeight,
double? contentMaxWidth,
double? contentMaxHeight,
List<Widget>? actions,
bool? barrierDismissible,
bool? showCloseBtn,
EdgeInsetsGeometry? containerPadding,
bool autoScroll = true,
required Widget Function(BuildContext) builder,
}) {
return _showInsetDialog(
context,
title,
builder,
backgroundColor,
openModel ?? OpenModel.normal,
containerMaxWidth,
containerMaxHeight,
contentMaxWidth,
contentMaxHeight,
actions,
barrierDismissible,
showCloseBtn,
containerPadding,
autoScroll,
);
}