copyWith method
MaterialExpressiveBorder
copyWith({
- BorderSide? side,
- MaterialExpressiveShape? shape,
- bool? stretch,
override
Returns a copy of this OutlinedBorder that draws its outline with the
specified side, if side is non-null.
Implementation
@override
MaterialExpressiveBorder copyWith({
BorderSide? side,
MaterialExpressiveShape? shape,
bool? stretch,
}) => MaterialExpressiveBorder(
shape: shape ?? this.shape,
stretch: stretch ?? this.stretch,
side: side ?? this.side,
);