getWidgetSize method
Implementation
double getWidgetSize() {
switch (widget.variant) {
case 'lg':
return 112;
case 'md':
return 56;
case 'sm':
return 38;
case 'xs':
return 24;
default:
return 38;
}
}