ShowSnackBarAction class final

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

Constructors

ShowSnackBarAction({String? title, bool allowClosing = false, int showForSeconds = 3, SnackBarBehavior behavior = SnackBarBehavior.fixed, bool? isAwaited})
ShowSnackBarAction.fromJson(Map<String, dynamic> json)
factory

Properties

allowClosing bool
final
behavior SnackBarBehavior
final
hashCode int
The hash code for this object.
no setterinherited
isAwaited bool?
Whether to await this configuration's execution.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaType String
The schema type of this configuration.
finalinherited
showForSeconds int
final
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<ShowSnackBarAction>
final

Constants

schemaName → const String