TriggerFromItemComponentData<T> class

Carries the data that might be used in TriggerFromItemComponent.builder.

Constructors

TriggerFromItemComponentData({required BuildContext context, required TriggerMenu triggerMenu, required T item, required TickerProvider tickerProvider, required dynamic selectedItem, required MenuState? menuState})

Properties

context → BuildContext
BuildContext passed by SelectionMenu.
final
hashCode → int
The hash code for this object.
no setterinherited
item → T
Must not be null.
final
Current state of the Menu.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedItem → dynamic
final
tickerProvider → TickerProvider
Must not be null.
final
triggerMenu TriggerMenu
A callback that should be called when the trigger is triggered. Opens/Closes the menu associated with SelectionMenu.
final

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