ItemPickerData class

Data provided by ItemPickerDialog to its descendants.

Contains the current selection value, change callback, and layout strategy. Used internally for coordinating state across the item picker tree.

Constructors

ItemPickerData({Object? value, ValueChanged<Object?>? onChanged, required ItemPickerLayout layout})
Creates an ItemPickerData.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
layout ItemPickerLayout
The layout strategy being used.
final
onChanged ValueChanged<Object?>?
Callback invoked when the selection changes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Object?
The currently selected value.
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.
override