base static method
A plain text field. Colors, borders and padding come from the theme's NyFieldColors.
Implementation
static FieldStyleTextField base() {
return FieldStyleTextField(
labelText: '',
// No controller or focusNode: [InputField] creates and disposes its own,
// and its focus listener (inline validation) must see the node in use.
obscureText: false,
maxLines: 1,
minLines: 1,
keyboardType: TextInputType.text,
autoFocus: false,
textAlign: TextAlign.start,
enableSuggestions: true,
hintText: '',
dummyData: '',
onChanged: null,
textInputAction: TextInputAction.done,
style: const TextStyle(fontSize: 16.0),
filled: true,
isDense: true,
decoration: InputDecoration(),
);
}