SelectionUpdater<V> typedef
SelectionUpdater<V> =
V Function(V initialValue)
Updates an easthetic encode value when the selection state of an mark item changes.
You can define different selection updates for different selections and selection states (See details in Encode.updaters).
The initialValue
is the original item encode value (Set or calculated.).
Make sure the return value is a different instance from initialValue.
See also:
- Encode.updaters, where selection updates are defined.
Implementation
typedef SelectionUpdater<V> = V Function(V initialValue);