onChanged property
dynamic Function(T value)?
onChanged
final
Optional callback invoked whenever the cycled value changes, passing the new T
value.
Use this to update parent state, trigger rebuilds, or integrate with providers like ArcaneFieldProvider in form contexts. No side effects occur if null.
Implementation
final Function(T value)? onChanged;