FieldControl<T> constructor

FieldControl<T>([
  1. T? value
])

Initializes control and Stream with default value.

Implementation

FieldControl([T? value]) {
  if (value != null) {
    setValue(value);
  }
}