ShowDesktopPopupFunc typedef
ShowDesktopPopupFunc =
Future<bool> Function({BorderRadius? borderRadius, required Widget child(VoidCallback closeFunc), required BuildContext context, double? height, String? initText, bool? isDarkBackground, Offset? offset, VoidCallback? onCancel, VoidCallback? onConfirm, VoidCallback? onSubmit, Widget? submitWidget, String? title, double? width})
Implementation
typedef ShowDesktopPopupFunc = Future<bool> Function({
required BuildContext context,
required Widget Function(VoidCallback closeFunc) child,
double? width,
double? height,
Offset? offset,
String? initText,
BorderRadius? borderRadius,
bool? isDarkBackground,
String? title,
VoidCallback? onSubmit,
Widget? submitWidget,
VoidCallback? onConfirm,
VoidCallback? onCancel,
});