TFieldProp<T> constructor

TFieldProp<T>(
  1. T value, {
  2. bool useNotifier = false,
  3. ValueChanged<T?>? onValueChanged,
})

Implementation

TFieldProp(T value, {bool useNotifier = false, this.onValueChanged})
    : _value = value,
      initialValue = value,
      _valueNotifier = useNotifier ? ValueNotifier(value) : null;