copyWith method

DynamicBorderRadius copyWith({
  1. DynamicRadius? topLeft,
  2. DynamicRadius? topRight,
  3. DynamicRadius? bottomLeft,
  4. 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,
  );
}