State<T> constructor
State<T> ({
- required T initValue,
- T? newValue,
Implementation
State({required this.initValue, T? newValue})
: _currentValue = newValue ?? initValue,
_previousValue = initValue;