getIconSize function

double getIconSize(
  1. IconSize size
)

Implementation

double getIconSize(IconSize size) {
  switch(size) {
    case IconSize.LARGE:
      return 48;
    case IconSize.MEDIUM:
      return 36;
    case IconSize.SMALL:
      return 24;
    default:
      return 18;
  }
}