getThemeText function

String getThemeText (
  1. ThemeType type
)

Implementation

String getThemeText(ThemeType type) {
  Map<ThemeType, String> themeTextMapping = {
    ThemeType.WHITE: 'White',
    ThemeType.GREEN: 'Green',
    ThemeType.PINK: 'Pink',
    ThemeType.DARK: 'Dark',
  };
  return themeTextMapping[type];
}