style method

UvBorder style(
  1. UvStyle style
)

Returns a new UvBorder with style applied to all sides.

Upstream: UvBorder.UvStyle.

Implementation

UvBorder style(UvStyle style) => UvBorder(
  top: top.copyWith(style: style),
  bottom: bottom.copyWith(style: style),
  left: left.copyWith(style: style),
  right: right.copyWith(style: style),
  topLeft: topLeft.copyWith(style: style),
  topRight: topRight.copyWith(style: style),
  bottomLeft: bottomLeft.copyWith(style: style),
  bottomRight: bottomRight.copyWith(style: style),
);