copyWith method
Creates a copy with the specified values replaced.
Implementation
Padding copyWith({int? top, int? right, int? bottom, int? left}) {
return Padding(
top: top ?? this.top,
right: right ?? this.right,
bottom: bottom ?? this.bottom,
left: left ?? this.left,
);
}