copyWith method

FakeViewPadding copyWith({
  1. double? bottom,
  2. double? top,
  3. double? left,
  4. double? right,
})

Implementation

FakeViewPadding copyWith({
  double? bottom,
  double? top,
  double? left,
  double? right,
}) {
  return ViewPaddingImpl(
    bottom: bottom ?? this.bottom,
    top: top ?? this.top,
    left: left ?? this.left,
    right: right ?? this.right,
  );
}