TextFieldTags constructor
const
TextFieldTags({
- Key? key,
- double tagsDistanceFromBorderEnd = 0.725,
- EdgeInsets scrollableTagsPadding = const EdgeInsets.symmetric(horizontal: 4.0),
- EdgeInsets? scrollableTagsMargin,
- Validator? validator,
- List<
String> ? initialTags = const [], - List<
String> ? textSeparators = const [' ', ','], - LetterCase letterCase = LetterCase.small,
- TextFieldTagsController? textFieldTagsController,
- required TagsStyler tagsStyler,
- required TextFieldStyler textFieldStyler,
- required void onTag(
- String tag
- required void onDelete(
- 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);