railHeight static method

double railHeight(
  1. int count
)

Height of the CNTabRailStyle.rail style with count items.

Implementation

static double railHeight(int count) =>
    count <= 0 ? 0 : count * 44 + (count - 1) * 4 + 10;