JarFieldState<T> constructor

const JarFieldState<T>({
  1. T? value,
  2. String? error,
  3. bool isDirty = false,
  4. bool isTouched = false,
  5. bool isValidating = false,
  6. bool isDisabled = false,
  7. required String name,
  8. required void onChange(
    1. T?
    ),
  9. required void markAsTouched(),
})

Implementation

const JarFieldState({
  this.value,
  this.error,
  this.isDirty = false,
  this.isTouched = false,
  this.isValidating = false,
  this.isDisabled = false,
  required this.name,
  required this.onChange,
  required this.markAsTouched,
});