TextInput constructor

const TextInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? validator(
    1. String?
    )?,
  4. TextInputType? keyboardType,
  5. TextStyle? style,
  6. TextAlign textAlign = TextAlign.start,
  7. int? maxLines = 1,
  8. int? minLines,
  9. bool readOnly = false,
  10. bool autofocus = false,
  11. bool obscureText = false,
  12. ValueChanged<String>? onChanged,
  13. TextInputAction? textInputAction,
  14. bool enabled = true,
  15. String? hintText,
})

Implementation

const TextInput({
  Key? key,
  this.controller,
  this.validator,
  this.keyboardType,
  this.style,
  this.textAlign = TextAlign.start,
  this.maxLines = 1,
  this.minLines,
  this.readOnly = false,
  this.autofocus = false,
  this.obscureText = false,
  this.onChanged,
  this.textInputAction,
  this.enabled = true,
  this.hintText,
}) : super(key: key);