show<T> static method

Future<T?> show<T>({
  1. required BuildContext context,
  2. required String title,
  3. Color? backgroundColor,
  4. OpenModel? openModel,
  5. double? containerMaxWidth,
  6. double? containerMaxHeight,
  7. double? contentMaxWidth,
  8. double? contentMaxHeight,
  9. List<Widget>? actions,
  10. bool? barrierDismissible,
  11. bool? showCloseBtn,
  12. EdgeInsetsGeometry? containerPadding,
  13. bool autoScroll = true,
  14. required Widget builder(
    1. BuildContext
    ),
})

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,
  );
}