DecoratedWrap constructor
const
DecoratedWrap({
- Key? key,
- double? width,
- double? height,
- Axis direction = Axis.horizontal,
- WrapAlignment alignment = WrapAlignment.start,
- WrapAlignment runAlignment = WrapAlignment.start,
- double spacing = 0.0,
- double runSpacing = 0.0,
- WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- Clip clipBehavior = Clip.none,
- EdgeInsets? padding,
- EdgeInsets? margin,
- bool? expanded,
- TextStyle? textStyle,
- int? crossAxisCount,
- double? childAspectRatio,
- BoxDecoration? decoration,
- BoxDecoration? foregroundDecoration,
- bool alignItemWidth = false,
- required List<
Widget> children,
Implementation
const DecoratedWrap({
super.key,
this.width,
this.height,
this.direction = Axis.horizontal,
this.alignment = WrapAlignment.start,
this.runAlignment = WrapAlignment.start,
this.spacing = 0.0,
this.runSpacing = 0.0,
this.crossAxisAlignment = WrapCrossAlignment.start,
this.textDirection,
this.verticalDirection = VerticalDirection.down,
this.clipBehavior = Clip.none,
this.padding,
this.margin,
this.expanded,
this.textStyle,
this.crossAxisCount,
this.childAspectRatio,
this.decoration,
this.foregroundDecoration,
this.alignItemWidth = false,
required this.children,
});