radiusFor method

double radiusFor(
  1. M3ECarouselType type
)

Corner radius for type.

Implementation

double radiusFor(M3ECarouselType type) {
  if (type == M3ECarouselType.fullScreen) {
    return fullScreenRadius;
  }
  return borderRadiusValue;
}