getScreenConfigForPlatform method

String getScreenConfigForPlatform()

Implementation

String getScreenConfigForPlatform() {
  switch (screenConfig) {
    case ScreenConfig.fullScreen:
      return 'fullScreen';
    case ScreenConfig.halfScreenBottom:
      return 'halfScreenBottom';
    case ScreenConfig.halfScreenTop:
      return 'halfScreenTop';
    case ScreenConfig.centerScreen:
      return 'centerScreen';
    case ScreenConfig.smallCenterScreen:
      return 'smallCenterScreen';
    case ScreenConfig.largeTopScreen:
      return 'largeTopScreen';
    case ScreenConfig.largeBottomScreen:
      return 'largeBottomScreen';
    default:
      return 'centerScreen'; // Default configuration
  }
}