getHorizontalMargin static method

double getHorizontalMargin(
  1. SFScreenSize size
)

Récupère la marge horizontale pour un type d'écran

Implementation

static double getHorizontalMargin(SFScreenSize size) {
  return horizontalMargins[size] ?? defaultGap;
}