getDashPattern static method
Gets the dash pattern for custom borders
Implementation
static List<double> getDashPattern(FlyStyle style) {
if (style.borderStyle == null) return [5, 5];
switch (style.borderStyle.toString().toLowerCase()) {
case 'dashed':
return [10, 5]; // Longer dashes
case 'dotted':
return [2, 2]; // Small dots
default:
return [5, 5];
}
}