copyWith method
AntdWrapStyle
copyWith({
- double? spacing,
- double? runSpacing,
- WrapAlignment? alignment,
- WrapCrossAlignment? crossAxisAlignment,
- Axis? direction,
- VerticalDirection? verticalDirection,
- TextDirection? textDirection,
- Clip? clipBehavior,
- TextBaseline? textBaseline,
- 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,
);
}