InputField constructor

const InputField({
  1. Key? key,
  2. required InputThemeData inputTheme,
  3. ValueChanged<String>? onChanged,
  4. FormFieldSetter<String>? onSaved,
  5. VoidCallback? onEditingComplete,
  6. ValueChanged<String>? onFieldSubmitted,
  7. GestureTapCallback? onTap,
  8. TextEditingController? controller,
  9. String? initialValue,
  10. bool? enabled,
  11. bool readOnly = false,
  12. FocusNode? focusNode,
})

Implementation

const InputField({
  super.key,
  required this.inputTheme,
  this.onChanged,
  this.onSaved,
  this.onEditingComplete,
  this.onFieldSubmitted,
  this.onTap,
  this.controller,
  this.initialValue,
  this.enabled,
  this.readOnly = false,
  this.focusNode,
});