iconSize property
double
get
iconSize
Returns icon size based on the button size.
Implementation
double get iconSize {
return switch (this) {
VButtonSize.SMALL => 16,
VButtonSize.MEDIUM => 20,
VButtonSize.LARGE => 24,
};
}