buttonWidth property

double get buttonWidth

Implementation

double get buttonWidth {
  if (width / 5 > 34) {
    return 34;
  } else if (width / 5 < 24) {
    return 24;
  } else {
    return width / 5;
  }
}