StateField constructor
const
StateField({
- Key? key,
- TextEditingController? controller,
- String? initialValue,
- bool enabled = true,
- ValueChanged<
String> ? onChanged, - String? errorText,
- ValueChanged<
String> ? onErrorCleared,
Implementation
const StateField({
super.key,
this.controller,
this.initialValue,
this.enabled = true,
this.onChanged,
this.errorText,
this.onErrorCleared,
});