ValueNotifier<T> constructor
- T _value
Creates a ChangeNotifier that wraps this value.
Implementation
ValueNotifier(this._value) {
assert(() {
ChangeNotifier.maybeDispatchObjectCreation(this);
return true;
}());
}
Creates a ChangeNotifier that wraps this value.
ValueNotifier(this._value) {
assert(() {
ChangeNotifier.maybeDispatchObjectCreation(this);
return true;
}());
}