ExpressiveBareField constructor

const ExpressiveBareField({
  1. required TextEditingController controller,
  2. required FocusNode focusNode,
  3. String? hintText,
  4. ValueChanged<String>? onSubmitted,
  5. VoidCallback? onEditingComplete,
  6. ValueChanged<String>? onChanged,
  7. bool enabled = true,
  8. bool obscureText = false,
  9. bool autofocus = false,
  10. TextInputType? keyboardType,
  11. TextInputAction? textInputAction,
  12. String? semanticLabel,
  13. Key? key,
})

A bare input on controller and focusNode.

Implementation

const ExpressiveBareField({
  required this.controller,
  required this.focusNode,
  this.hintText,
  this.onSubmitted,
  this.onEditingComplete,
  this.onChanged,
  this.enabled = true,
  this.obscureText = false,
  this.autofocus = false,
  this.keyboardType,
  this.textInputAction,
  this.semanticLabel,
  super.key,
});