TextInput constructor

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

Implementation

const TextInput({
  Key? key,
  this.controller,
  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);