ControlState<T> constructor

ControlState<T>({
  1. T? value,
  2. bool? disabled,
})

Constructs a state with a default value and a disabled status.

Implementation

ControlState({
  this.value,
  this.disabled,
});