copyWith method
Implementation
ShadPosition copyWith({
double? top,
double? left,
double? right,
double? bottom,
}) {
return ShadPosition(
top: top ?? this.top,
left: left ?? this.left,
right: right ?? this.right,
bottom: bottom ?? this.bottom,
);
}