s property

double get s

Gets the responsive S (Small) size based on the current screen type. Defaults to mobileS if the screen type is not set.

Implementation

double get s {
  return switch (_currentScreenType) {
    ScreenType.mobile => mobileS,
    ScreenType.tablet => tabletS,
    ScreenType.desktop => desktopS,
    null => mobileS,
  };
}