ShowSnackBarAction class final

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

Constructors

ShowSnackBarAction({String? title, bool allowClosing = false, int showForSeconds = 3, SnackBarBehavior behavior = SnackBarBehavior.fixed})
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
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaType String
The schema type of the content item.
finalinherited
showForSeconds int
final
title String?
finalinherited

Methods

execute(BuildContext context, {Map<String, dynamic>? arguments}) FutureOr<void>
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