StateField constructor

const StateField({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? initialValue,
  4. bool enabled = true,
  5. ValueChanged<String>? onChanged,
  6. String? errorText,
  7. ValueChanged<String>? onErrorCleared,
})

Implementation

const StateField({
  super.key,
  this.controller,
  this.initialValue,
  this.enabled = true,
  this.onChanged,
  this.errorText,
  this.onErrorCleared,
});