ChangeWatcher<T> constructor

ChangeWatcher<T>({
  1. required T initValue,
  2. State<T>? state,
})

Implementation

ChangeWatcher({required this.initValue, State<T>? state})
    : initialState = StateObject(initValue: initValue);