copyWith method Null safety
- {BorderSide? side}
override
Returns a copy of this OutlinedBorder that draws its outline with the
specified side
, if side
is non-null.
Implementation
@override
StadiumBorder copyWith({ BorderSide? side }) {
return StadiumBorder(side: side ?? this.side);
}