fontSize property
The font size of the button, based on size class
Implementation
double get fontSize {
switch (this) {
case xxs:
return 10;
case xs:
return 10;
case small:
return 12;
case medium:
return 14;
case large:
return 18;
case xl:
return 24;
}
}