AppMultipleItemsHandler<T> class
- Inheritance
-
- Object
- AppItemsHandler<
T> - AppMultipleItemsHandler
Constructors
-
AppMultipleItemsHandler(FutureOr<
void> onChanged(List<T> ), {List<T> initialValue = const [], ListTileControlAffinity controlAffinity = ListTileControlAffinity.leading, bool compareItems(T, T)?, String itemAsString(T)?, bool filterItems(T, String)?}) -
const
Properties
- compareItems → bool Function(T, T)?
-
finalinherited
- controlAffinity → ListTileControlAffinity
-
final
- filterItems → bool Function(T, String)?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
initialValue
→ List<
T> -
final
- itemAsString → String Function(T)?
-
finalinherited
-
onChanged
→ FutureOr<
void> Function(List<T> ) -
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
asString(
T item) → String -
inherited
-
compare(
T a, T b) → bool -
inherited
-
filter(
T item, String filter) → 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