copyWith method
WxTileStyle
copyWith({
- Axis? direction,
- EdgeInsetsGeometry? margin,
- double? spacing,
- bool? adaptiveSpacing,
- WxTileAlign? align,
- WxTileJustify? justify,
- bool? inline,
- bool? childWrap,
Creates a copy of this WxTileStyle but with the given fields replaced with the new values.
Implementation
WxTileStyle copyWith({
Axis? direction,
EdgeInsetsGeometry? margin,
double? spacing,
bool? adaptiveSpacing,
WxTileAlign? align,
WxTileJustify? justify,
bool? inline,
bool? childWrap,
}) {
return WxTileStyle(
direction: direction ?? this.direction,
margin: margin ?? this.margin,
spacing: spacing ?? this.spacing,
adaptiveSpacing: adaptiveSpacing ?? this.adaptiveSpacing,
align: align ?? this.align,
justify: justify ?? this.justify,
inline: inline ?? this.inline,
childWrap: childWrap ?? this.childWrap,
);
}