iconHeight property

double get iconHeight

Returns icon height based on the button size.

Implementation

double get iconHeight {
  return switch (this) {
    VButtonSize.SMALL => 16,
    VButtonSize.MEDIUM => 20,
    VButtonSize.LARGE => 24,
  };
}