legendIconBorderWidth method

  1. @protected
double legendIconBorderWidth()

Implementation

@protected
double legendIconBorderWidth() {
  if (legendIconType == LegendIconType.horizontalLine ||
      legendIconType == LegendIconType.verticalLine) {
    return 2;
  }
  return 1;
}