ShowAlertAction class final

Inheritance
  • Object
  • ActionConfiguration
  • ShowAlertAction
Annotations
  • @JsonSerializable.new()

Constructors

ShowAlertAction({String? title, String message = '', List<UserAction> actions = const [], bool barrierDismissible = true, required bool? isAwaited})
ShowAlertAction.fromJson(Map<String, dynamic> json)
factory

Properties

actions → List<UserAction>
final
barrierDismissible → bool
final
hashCode → int
The hash code for this object.
no setterinherited
isAwaited → bool?
Whether to await this configuration's execution.
finalinherited
message → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemaType → String
The schema type of this configuration.
finalinherited
title → String?
Optional title for this configuration.
finalinherited

Methods

execute(BuildContext context, {Map<String, dynamic>? arguments}) → FutureOr<void>
Executes this configuration.
override
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 Properties

typeDescriptor → TypeDescriptor<ShowAlertAction>
final

Constants

schemaName → const String