TextFieldTags constructor

const TextFieldTags({
  1. Key? key,
  2. double tagsDistanceFromBorderEnd = 0.725,
  3. EdgeInsets scrollableTagsPadding = const EdgeInsets.symmetric(horizontal: 4.0),
  4. EdgeInsets? scrollableTagsMargin,
  5. Validator? validator,
  6. List<String>? initialTags = const [],
  7. List<String>? textSeparators = const [' ', ','],
  8. LetterCase letterCase = LetterCase.small,
  9. TextFieldTagsController? textFieldTagsController,
  10. required TagsStyler tagsStyler,
  11. required TextFieldStyler textFieldStyler,
  12. required void onTag(
    1. String tag
    ),
  13. required void onDelete(
    1. String tag
    ),
})

Implementation

const TextFieldTags({
  Key? key,
  this.tagsDistanceFromBorderEnd = 0.725,
  this.scrollableTagsPadding = const EdgeInsets.symmetric(horizontal: 4.0),
  this.scrollableTagsMargin,
  this.validator,
  this.initialTags = const [],
  this.textSeparators = const [' ', ','],
  this.letterCase = LetterCase.small,
  this.textFieldTagsController,
  required this.tagsStyler,
  required this.textFieldStyler,
  required this.onTag,
  required this.onDelete,
}) : super(key: key);