responsiveSize method

int responsiveSize(
  1. ResponsiveSize size
)

Implementation

int responsiveSize(ResponsiveSize size) => switch (size) {
      ResponsiveSize.extraSmall => safeSizeExtraSmall,
      ResponsiveSize.small => safeSizeSmall,
      ResponsiveSize.medium => safeSizeMedium,
      ResponsiveSize.large => safeSizeLarge,
      ResponsiveSize.extraLarge => safeSizeExtraLarge,
    };