xs property

double get xs

Gets the responsive XS (Extra Small) size based on the current screen type. Defaults to GridConstants.mobileXS if the screen type is not set.

Implementation

double get xs {
  return switch (screenType) {
    ScreenType.mobile => GridConstants.mobileXS,
    ScreenType.tablet => GridConstants.tabletXS,
    ScreenType.desktop => GridConstants.desktopXS,
    null => GridConstants.mobileXS,
  };
}