copyWith method

HorizontalSpacing copyWith({
  1. double? left,
  2. double? right,
})

Implementation

HorizontalSpacing copyWith({
  double? left,
  double? right,
}) {
  return HorizontalSpacing(
    left ?? this.left,
    right ?? this.right,
  );
}