copyWith method

  1. @override
OvalBorder copyWith(
  1. {BorderSide? side,
  2. double? eccentricity}
)
override

Returns a copy of this OutlinedBorder that draws its outline with the specified side, if side is non-null.

Implementation

@override
OvalBorder copyWith({ BorderSide? side, double? eccentricity }) {
  return OvalBorder(side: side ?? this.side, eccentricity: eccentricity ?? this.eccentricity);
}