Tags constructor

Tags(
  1. {int columns,
  2. int itemCount = 0,
  3. bool symmetry = false,
  4. bool horizontalScroll = false,
  5. double heightHorizontalScroll = 60,
  6. double spacing = 6,
  7. double runSpacing = 14,
  8. WrapAlignment alignment = WrapAlignment.center,
  9. WrapAlignment runAlignment = WrapAlignment.center,
  10. Axis direction = Axis.horizontal,
  11. VerticalDirection verticalDirection = VerticalDirection.down,
  12. TextDirection textDirection = TextDirection.ltr,
  13. ItemBuilder itemBuilder,
  14. TagsTextField textField,
  15. Key key}
)

Implementation

Tags(
    {this.columns,
    this.itemCount = 0,
    this.symmetry = false,
    this.horizontalScroll = false,
    this.heightHorizontalScroll = 60,
    this.spacing = 6,
    this.runSpacing = 14,
    this.alignment = WrapAlignment.center,
    this.runAlignment = WrapAlignment.center,
    this.direction = Axis.horizontal,
    this.verticalDirection = VerticalDirection.down,
    this.textDirection = TextDirection.ltr,
    this.itemBuilder,
    this.textField,
    Key key})
    : assert(itemCount >= 0),
      assert(alignment != null),
      assert(runAlignment != null),
      assert(direction != null),
      assert(verticalDirection != null),
      assert(textDirection != null),
      super(key: key);