buildTextField method
TextField
buildTextField({
- int maxLines = 1,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- List<
TextInputFormatter> ? inputFormatters, - ValueChanged<
String> ? onValueChanged,
Implementation
TextField buildTextField({
int maxLines = 1,
TextInputType? keyboardType,
TextInputAction? textInputAction,
List<TextInputFormatter>? inputFormatters,
ValueChanged<String>? onValueChanged,
}) {
return wTheme.buildTextField(
states,
label: _widget.label,
placeholder: _widget.placeholder,
autoFocus: _widget.autoFocus,
readOnly: _widget.readOnly,
focusNode: focusNode,
controller: _textController,
maxLines: maxLines,
keyboardType: keyboardType,
textInputAction: textInputAction,
inputFormatters: inputFormatters,
onValueChanged: onValueChanged,
);
}