Wrap constructor
const
Wrap({
- List<
Widget> children = const <Widget>[], - Axis direction = Axis.horizontal,
- WrapAlignment alignment = WrapAlignment.start,
- WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
- WrapAlignment runAlignment = WrapAlignment.start,
- double spacing = 0,
- double runSpacing = 0,
- bool reverse = false,
- Key? key,
Implementation
const Wrap({
this.children = const <Widget>[],
this.direction = Axis.horizontal,
this.alignment = WrapAlignment.start,
this.crossAxisAlignment = WrapCrossAlignment.start,
this.runAlignment = WrapAlignment.start,
this.spacing = 0,
this.runSpacing = 0,
this.reverse = false,
super.key,
}) : assert(spacing >= 0),
assert(runSpacing >= 0);