toFlutterBorderSide method

BorderSide toFlutterBorderSide()

Convert to BorderSide.

Defaults color to transparent black. Warning: flutter border size does not support dashed outline.

Implementation

BorderSide toFlutterBorderSide() {
  return BorderSide(
    color: color ?? const Color(0x00000000),
    width: width,
  );
}