needsCustomBorder static method

bool needsCustomBorder(
  1. FlyStyle style
)

Checks if custom border rendering is needed (dashed, dotted)

Implementation

static bool needsCustomBorder(FlyStyle style) {
  if (style.borderStyle == null) return false;

  final borderStyle = style.borderStyle.toString().toLowerCase();
  return borderStyle == 'dashed' || borderStyle == 'dotted';
}