AppSingleItemHandler<T> class

Inheritance

Constructors

AppSingleItemHandler(FutureOr<void> onChanged(T?), {T? initialValue, bool compareItems(T, T)?, String itemAsString(T)?})
const

Properties

compareItems → (bool Function(T, T)?)
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initialValue → T?
final
itemAsString → (String Function(T)?)
finalinherited
onChanged FutureOr<void> Function(T?)
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

asString(T item) String
inherited
compare(T a, T b) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onListChanged(List<T> list) FutureOr<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited