MenuPositionAndSizeComponentData class
Carries the data that might be used in MenuPositionAndSizeComponent.builder.
Constructors
- MenuPositionAndSizeComponentData({required BuildContext context, required BoxConstraints? constraints, required TriggerPositionAndSize? triggerPositionAndSize, required dynamic selectedItem})
Properties
- constraints → BoxConstraints?
-
BoxConstraints
constructed by processing menuSizeConfiguration. SelectionMenu does the processing.final - context → BuildContext
-
BuildContext
passed by SelectionMenu.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
The same MenuSizeConfiguration that were passed to SelectionMenu.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedItem → dynamic
-
final
- triggerPositionAndSize → TriggerPositionAndSize?
-
TriggerPositionAndSize of the SelectionMenu, which is typically a button.
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