s property
double
get
s
Gets the responsive S (Small) size based on the current screen type. Defaults to GridConstants.mobileS if the screen type is not set.
Implementation
double get s {
return switch (screenType) {
ScreenType.mobile => GridConstants.mobileS,
ScreenType.tablet => GridConstants.tabletS,
ScreenType.desktop => GridConstants.desktopS,
null => GridConstants.mobileS,
};
}