selectedThemeIndex property

int? selectedThemeIndex

Get currently selected theme

Implementation

int? get selectedThemeIndex {
  if (themes != null && themes!.isNotEmpty) {
    int? themeIndex = _sharedPreferences.themeIndex;
    return themeIndex == null ? 0 : themeIndex;
  }
  return null;
}