computeDefaultTrackSize method

double computeDefaultTrackSize(
  1. double size
)
inherited

Implementation

double computeDefaultTrackSize(double size) {
  final candidateTrackHeight = (size / 3 * 2).truncate();
  return (candidateTrackHeight + (candidateTrackHeight.isEven ? 0 : 1))
      .toDouble();
}