neededSpace property

double neededSpace

Calculates the needed gap based on type

Implementation

double get neededSpace =>
    type == DotBorderType.none ? 0.0 : (width / 2 + (padding * 2));