copyWith method

AntdWrapStyle copyWith({
  1. double? spacing,
  2. double? runSpacing,
  3. WrapAlignment? alignment,
  4. WrapCrossAlignment? crossAxisAlignment,
  5. Axis? direction,
  6. VerticalDirection? verticalDirection,
  7. TextDirection? textDirection,
  8. Clip? clipBehavior,
  9. TextBaseline? textBaseline,
  10. WrapAlignment? runAlignment,
})

Implementation

AntdWrapStyle copyWith({
  double? spacing,
  double? runSpacing,
  WrapAlignment? alignment,
  WrapCrossAlignment? crossAxisAlignment,
  Axis? direction,
  VerticalDirection? verticalDirection,
  TextDirection? textDirection,
  Clip? clipBehavior,
  TextBaseline? textBaseline,
  WrapAlignment? runAlignment,
}) {
  return AntdWrapStyle(
    spacing: spacing ?? this.spacing,
    runSpacing: runSpacing ?? this.runSpacing,
    alignment: alignment ?? this.alignment,
    crossAxisAlignment: crossAxisAlignment ?? this.crossAxisAlignment,
    direction: direction ?? this.direction,
    verticalDirection: verticalDirection ?? this.verticalDirection,
    textDirection: textDirection ?? this.textDirection,
    clipBehavior: clipBehavior ?? this.clipBehavior,
    textBaseline: textBaseline ?? this.textBaseline,
    runAlignment: runAlignment ?? this.runAlignment,
  );
}