text static method

AppChipsTextField<String> text({
  1. Key? key,
  2. List<String> initialItems = const [],
  3. String? labelText,
  4. String? hintText,
  5. ValueChanged<List<String>>? onChanged,
  6. VoidCallback? onDisabledTap,
  7. List<TextInputFormatter>? inputFormatters,
  8. FormFieldValidator<String>? validator,
  9. 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,
  );
}