bottom method

double? bottom(
  1. double childPadding
)

Calculation of the bottom position on the badge

If ZeroBadgePosition is bottom, it will return 0, otherwise it will return null

Implementation

double? bottom(double childPadding) =>
    this == bottomLeft || this == bottomRight ? -(childPadding / 2) : null;