copyWith method
CornerSpec
copyWith({
- Corner? topLeft,
- Corner? topRight,
- Corner? bottomRight,
- Corner? bottomLeft,
- BorderRadiusGeometry? radius,
📋 Returns a copy of this CornerSpec
with the given properties.
Implementation
CornerSpec copyWith({
Corner? topLeft,
Corner? topRight,
Corner? bottomRight,
Corner? bottomLeft,
BorderRadiusGeometry? radius,
}) =>
CornerSpec(
topLeft: topLeft ?? this.topLeft,
topRight: topRight ?? this.topRight,
bottomRight: bottomRight ?? this.bottomRight,
bottomLeft: bottomLeft ?? this.bottomLeft,
radius: radius ?? this.radius,
);