toLegacy method
Converts a WxBorderSide object to a legacy BorderSide object, which is used by the standard Flutter.
Implementation
BorderSide toLegacy() {
return BorderSide(
style: effectiveWidth > 0 ? BorderStyle.solid : BorderStyle.none,
color: effectiveColor,
width: effectiveWidth,
strokeAlign: effectiveOffset,
);
}