text static method
AppChipsTextField<String>
text({
- Key? key,
- List<
String> initialItems = const [], - String? labelText,
- String? hintText,
- ValueChanged<
List< ? onChanged,String> > - VoidCallback? onDisabledTap,
- List<
TextInputFormatter> ? inputFormatters, - FormFieldValidator<
String> ? validator, - bool showAddButton = false,
Implementation
static AppChipsTextField<String> text({
Key? key,
List<String> initialItems = const [],
String? labelText,
String? hintText,
ValueChanged<List<String>>? onChanged,
VoidCallback? onDisabledTap,
List<TextInputFormatter>? inputFormatters,
FormFieldValidator<String>? validator,
bool showAddButton = false,
}) {
return _TextOnlyContent(
key: key,
initialItems: initialItems,
labelText: labelText,
hintText: hintText,
onChanged: onChanged,
onDisabledTap: onDisabledTap,
inputFormatters: inputFormatters,
validator: validator,
showAddButton: showAddButton,
);
}