beforeChange property
(void Function(T)?)
beforeChange
getter/setter pair
This function will be called before the value of the variable has been changed.
Implementation
void Function(T)? beforeChange;