copyWith method

VerticalSpacing copyWith({
  1. double? top,
  2. double? bottom,
})

Implementation

VerticalSpacing copyWith({
  double? top,
  double? bottom,
}) {
  return VerticalSpacing(
    top ?? this.top,
    bottom ?? this.bottom,
  );
}