DrawerAction class final

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

Constructors

DrawerAction({String? title, DrawerActionType actionType = DrawerActionType.open, bool isEndDrawer = false, bool? isAwaited})
DrawerAction.fromJson(Map<String, dynamic> json)
factory

Properties

actionType → DrawerActionType
final
hashCode → int
The hash code for this object.
no setterinherited
isAwaited → bool?
Whether to await this configuration's execution.
finalinherited
isEndDrawer → bool
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<DrawerAction>
final

Constants

schemaName → const String