Wrap constructor

Wrap({
  1. Axis direction = Axis.horizontal,
  2. WrapAlignment alignment = WrapAlignment.start,
  3. double spacing = 0.0,
  4. WrapAlignment runAlignment = WrapAlignment.start,
  5. double runSpacing = 0.0,
  6. WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
  7. VerticalDirection verticalDirection = VerticalDirection.down,
  8. List<Widget> children = const <Widget>[],
})

Creates a wrap layout.

Implementation

Wrap({
  this.direction = Axis.horizontal,
  this.alignment = WrapAlignment.start,
  this.spacing = 0.0,
  this.runAlignment = WrapAlignment.start,
  this.runSpacing = 0.0,
  this.crossAxisAlignment = WrapCrossAlignment.start,
  this.verticalDirection = VerticalDirection.down,
  List<Widget> children = const <Widget>[],
}) : super(children: children);