copyWith method
Creates a copy with the given measurements replaced with the new values.
Implementation
CssLengthBox copyWith({
CssLength? bottom,
CssLength? inlineEnd,
CssLength? inlineStart,
CssLength? left,
CssLength? right,
CssLength? top,
}) =>
CssLengthBox(
bottom: bottom ?? this.bottom,
inlineEnd: inlineEnd ?? _inlineEnd,
inlineStart: inlineStart ?? _inlineStart,
left: left ?? _left,
right: right ?? _right,
top: top ?? this.top,
);