FieldState<T> constructor

const FieldState<T>({
  1. T? value,
  2. String? error,
  3. bool touched = false,
  4. bool isValid = true,
})

Implementation

const FieldState({
  this.value,
  this.error,
  this.touched = false,
  this.isValid = true,
});