getCheckboxShape function
Implementation
double getCheckboxShape(CheckboxShape shape) {
switch (shape) {
case CheckboxShape.rectangle:
return 0.0;
case CheckboxShape.roundedRectangle:
return 3.0;
case CheckboxShape.rounded:
return 1000.0;
}
}