Tags constructor
Tags(- {int columns,
- int itemCount = 0,
- bool symmetry = false,
- bool horizontalScroll = false,
- double heightHorizontalScroll = 60,
- double spacing = 6,
- double runSpacing = 14,
- WrapAlignment alignment = WrapAlignment.center,
- WrapAlignment runAlignment = WrapAlignment.center,
- Axis direction = Axis.horizontal,
- VerticalDirection verticalDirection = VerticalDirection.down,
- TextDirection textDirection = TextDirection.ltr,
- ItemBuilder itemBuilder,
- TagsTextField textField,
- 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);