ControlValue<T> constructor

ControlValue<T>(
  1. T _value
)

Creates a ChangeNotifier that wraps this value.

Implementation

ControlValue(this._value) {
  if (kFlutterMemoryAllocationsEnabled) {
    ChangeNotifier.maybeDispatchObjectCreation(this);
  }
}