widgets/dialog/show_dialog
library
Functions
-
showPIConfirmDialog({required BuildContext context})
→ Future<bool>
-
-
showPIDialog<T>({required BuildContext context, bool barrierDismissible = false, Key? key, Widget? titleWidget, String? title, Widget? contentWidget, String? content, TextAlign contentAlign = TextAlign.center, String? cancelText, Function? cancelTap, String? confirmText, ConfirmColors confirmTextColor = ConfirmColors.warn, Function? confirmTap, bool isPopDialogOnClickCancel = true, bool disableButtons = false, double? width, double? maxHeight, double? minHeight, bool isShowCancel = true})
→ Future<T?>
-
显示弹窗
-
showPIDialogBuilder<P, R>({String titleBuilder(P params)?, Widget titleWidgetBuilder(P params)?, String contentBuilder(P params)?, Widget contentWidgetBuilder(P params)?})
→ dynamic
-
P 参数类型
R 返回结果类型