CustomDialog class
Dialog 对话框组件
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
show<
T> ({required BuildContext context, required Widget content, Widget? icon, Color? iconColor, EdgeInsetsGeometry? iconPadding, Widget? title, EdgeInsetsGeometry? titlePadding, TextStyle? titleTextStyle, EdgeInsetsGeometry? contentPadding, TextStyle? contentTextStyle, List< Widget> ? actions, EdgeInsetsGeometry? actionsPadding, MainAxisAlignment? actionsAlignment, OverflowBarAlignment? actionsOverflowAlignment, VerticalDirection? actionsOverflowDirection, double? actionsOverflowButtonSpacing, EdgeInsetsGeometry? buttonPadding, Color? backgroundColor, double? elevation, Color? shadowColor, Color? surfaceTintColor, String? semanticLabel, EdgeInsets insetPadding = const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0), Clip clipBehavior = Clip.none, ShapeBorder? shape, AlignmentGeometry? alignment, bool scrollable = true, bool barrierDismissible = false, Color? barrierColor = Colors.black54, String? barrierLabel, bool useSafeArea = true, RouteSettings? routeSettings, Offset? anchorPoint, TraversalEdgeBehavior? traversalEdgeBehavior, double? width, double? height, Widget? cancel, Widget? confirm, bool? showConfirm = true, bool? showCancel = true, void onConfirm()?, void onCancel()?}) → Future<T?> - 基础对话框
-
showResponseNotifyConfrm<
T> ({required BuildContext context, required NotidyConfirmException e, required void onConfirm(), void onCancel()?}) → Future< T?> - 后台确认弹出框
-
showSimple<
T> ({required BuildContext context, required List< Widget> children, Widget? title, EdgeInsetsGeometry titlePadding = const EdgeInsets.fromLTRB(14, 18, 14, 0), TextStyle? titleTextStyle, EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(0.0, 12.0, 0.0, 16.0), Color? backgroundColor, double? elevation, Color? shadowColor, Color? surfaceTintColor, String? semanticLabel, EdgeInsets insetPadding = const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0), Clip clipBehavior = Clip.none, ShapeBorder? shape, AlignmentGeometry? alignment}) → Future<T?> - 简单对话框