ExtendedWrap constructor
ExtendedWrap({
- Key? key,
- 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,
- int maxLines = 1,
- Widget? overflowWidget,
- List<
Widget> children = const <Widget>[],
Implementation
ExtendedWrap({
Key? key,
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,
this.maxLines = 1,
this.overflowWidget,
List<Widget> children = const <Widget>[],
}) : assert(maxLines >= 1),
super(key: key, children: [
...children,
if (overflowWidget != null) overflowWidget
]);