copyWith method
DynamicBorderRadius
copyWith({
- DynamicRadius? topLeft,
- DynamicRadius? topRight,
- DynamicRadius? bottomLeft,
- DynamicRadius? bottomRight,
Implementation
DynamicBorderRadius copyWith({
DynamicRadius? topLeft,
DynamicRadius? topRight,
DynamicRadius? bottomLeft,
DynamicRadius? bottomRight,
}) {
return DynamicBorderRadius.only(
topLeft: topLeft ?? this.topLeft,
topRight: topRight ?? this.topRight,
bottomLeft: bottomLeft ?? this.bottomLeft,
bottomRight: bottomRight ?? this.bottomRight,
);
}