DialogAction class
Constructors
- DialogAction.new({bool close = false, required String title, Color? color, dynamic action()?})
-
对话框按钮 >>>
Properties
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
-
accept(
{required String title, dynamic action()?, bool close = true}) → DialogAction -
确认按钮 >>>
-
cancel(
{required String title, dynamic action()?, bool close = true}) → DialogAction -
取消按钮 >>>
-
destroy(
{required String title, dynamic action()?, bool close = true}) → DialogAction -
删除按钮 >>>