SimpleTags constructor
SimpleTags({
- Key? key,
- required List<
String> content, - dynamic onTagPress()?,
- dynamic onTagDoubleTap()?,
- dynamic onTagLongPress()?,
- BoxDecoration? tagContainerDecoration,
- Widget? tagIcon,
- EdgeInsets tagContainerPadding = EdgeInsets.zero,
- EdgeInsets tagContainerMargin = EdgeInsets.zero,
- TextStyle? tagTextStyle,
- bool? tagTextSoftWrap,
- TextAlign? tagTextAlign,
- TextOverflow? tagTextOverflow,
- int? tagTextMaxlines,
- Locale? tagTextLocale,
- WrapCrossAlignment wrapCrossAxisAlignment = WrapCrossAlignment.start,
- WrapAlignment wrapAlignment = WrapAlignment.start,
- double wrapRunSpacing = 0,
- WrapAlignment wrapRunAlignment = WrapAlignment.start,
- Axis wrapDirection = Axis.horizontal,
- double wrapSpacing = 0,
- TextDirection? wrapTextDirection,
- Clip wrapClipBehavior = Clip.none,
- VerticalDirection wrapVerticalDirection = VerticalDirection.down,
Implementation
SimpleTags(
{Key? key,
required this.content,
this.onTagPress,
this.onTagDoubleTap,
this.onTagLongPress,
this.tagContainerDecoration,
this.tagIcon,
this.tagContainerPadding = EdgeInsets.zero,
this.tagContainerMargin = EdgeInsets.zero,
this.tagTextStyle,
this.tagTextSoftWrap,
this.tagTextAlign,
this.tagTextOverflow,
this.tagTextMaxlines,
this.tagTextLocale,
this.wrapCrossAxisAlignment = WrapCrossAlignment.start,
this.wrapAlignment = WrapAlignment.start,
this.wrapRunSpacing = 0,
this.wrapRunAlignment = WrapAlignment.start,
this.wrapDirection = Axis.horizontal,
this.wrapSpacing = 0,
this.wrapTextDirection,
this.wrapClipBehavior = Clip.none,
this.wrapVerticalDirection = VerticalDirection.down})
: super(key: key);