Modal class
Constructors
-
Modal(BuildContext context, {void afterClose()?, String cancelText = '取消', bool centered = false, bool closable = false, Widget? closeIcon, required Widget content, Widget? icon, bool keyboard = true, bool mask = true, bool maskClosable = false, String okText = '确定', ButtonType okType = ButtonType.primary, required Widget title, double width = 520, void onCancel()?, void onOk()?})
-
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
Static Methods
-
success(BuildContext context, {void afterClose()?, String cancelText = '取消', bool centered = false, bool closable = false, Widget? closeIcon, required Widget content, Widget? icon, bool keyboard = true, bool mask = true, bool maskClosable = false, String okText = '确定', ButtonType okType = ButtonType.primary, required Widget title, double width = 416, void onCancel()?, void onOk()?})
→ void
-