getCheckboxShape function

double getCheckboxShape(
  1. CheckboxShape shape
)

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;
  }
}