TextInput constructor
const
TextInput({
- Key? key,
- TextEditingController? controller,
- TextInputType? keyboardType,
- TextStyle? style,
- TextAlign textAlign = TextAlign.start,
- int? maxLines = 1,
- int? minLines,
- bool readOnly = false,
- bool autofocus = false,
- bool obscureText = false,
- ValueChanged<
String> ? onChanged, - TextInputAction? textInputAction,
- bool enabled = true,
- 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);