DecoratedWrap constructor

const DecoratedWrap({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. Axis direction = Axis.horizontal,
  5. WrapAlignment alignment = WrapAlignment.start,
  6. WrapAlignment runAlignment = WrapAlignment.start,
  7. double spacing = 0.0,
  8. double runSpacing = 0.0,
  9. WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
  10. TextDirection? textDirection,
  11. VerticalDirection verticalDirection = VerticalDirection.down,
  12. Clip clipBehavior = Clip.none,
  13. EdgeInsets? padding,
  14. EdgeInsets? margin,
  15. bool? expanded,
  16. TextStyle? textStyle,
  17. int? crossAxisCount,
  18. double? childAspectRatio,
  19. BoxDecoration? decoration,
  20. BoxDecoration? foregroundDecoration,
  21. bool alignItemWidth = false,
  22. 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,
});