MyDialogSheet class
统一的对话框管理类
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
-
showBottom<
T> ({required Widget child, double? height, Color backgroundColor = Colors.white, double? borderRadius}) → Future< T?> - 显示底部弹出菜单
-
showCenter<
T> ({String? title, required Widget content, EdgeInsetsGeometry? contentPadding, EdgeInsetsGeometry? titlePadding, EdgeInsetsGeometry? actionsPadding, EdgeInsets? insetPadding, double? titleFontSize, bool centerTitle = true, FutureOr< void> onConfirm()?, FutureOr<void> onExit()?, String confirmText = '确定', String exitText = '取消', bool barrierDismissible = true}) → Future<T?> - 显示中心弹出对话框