m property

double get m

Gets the responsive M (Medium) size based on the current screen type. Defaults to GridConstants.mobileM if the screen type is not set.

Implementation

double get m {
  return switch (screenType) {
    ScreenType.mobile => GridConstants.mobileM,
    ScreenType.tablet => GridConstants.tabletM,
    ScreenType.desktop => GridConstants.desktopM,
    null => GridConstants.mobileM,
  };
}