SimpleTags constructor

SimpleTags({
  1. Key? key,
  2. required List<String> content,
  3. dynamic onTagPress(
    1. String
    )?,
  4. dynamic onTagDoubleTap(
    1. String
    )?,
  5. dynamic onTagLongPress(
    1. String
    )?,
  6. BoxDecoration? tagContainerDecoration,
  7. Widget? tagIcon,
  8. EdgeInsets tagContainerPadding = EdgeInsets.zero,
  9. EdgeInsets tagContainerMargin = EdgeInsets.zero,
  10. TextStyle? tagTextStyle,
  11. bool? tagTextSoftWrap,
  12. TextAlign? tagTextAlign,
  13. TextOverflow? tagTextOverflow,
  14. int? tagTextMaxlines,
  15. Locale? tagTextLocale,
  16. WrapCrossAlignment wrapCrossAxisAlignment = WrapCrossAlignment.start,
  17. WrapAlignment wrapAlignment = WrapAlignment.start,
  18. double wrapRunSpacing = 0,
  19. WrapAlignment wrapRunAlignment = WrapAlignment.start,
  20. Axis wrapDirection = Axis.horizontal,
  21. double wrapSpacing = 0,
  22. TextDirection? wrapTextDirection,
  23. Clip wrapClipBehavior = Clip.none,
  24. 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);