RenderWrap constructor
- List<
RenderBox> ? children, - Axis direction = Axis.horizontal,
- WrapAlignment alignment = WrapAlignment.start,
- double spacing = 0.0,
- WrapAlignment runAlignment = WrapAlignment.start,
- double runSpacing = 0.0,
- WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- Clip clipBehavior = Clip.none,
Creates a wrap render object.
By default, the wrap layout is horizontal and both the children and the runs are aligned to the start.
Implementation
RenderWrap({
List<RenderBox>? children,
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._textDirection,
this._verticalDirection = VerticalDirection.down,
this._clipBehavior = Clip.none,
}) {
addAll(children);
}