### App Settings

```dart
class AppSettings extends BaseSettings {
  factory AppSettings() {
    return _instance; // Always returns the same instance
  }

  AppSettings._internal(); // Private constructor

  static final AppSettings _instance = AppSettings._internal();

  static ThemeStyle _themeStyle = ThemeStyle.blue;

  @override
  Future<bool> init(Storage storage) async {
    try {
      super.init(storage); // Initialize base storage
      _themeStyle = loadThemeStyle(); // Load saved theme
      return true;
    } catch (error) {
      return false;
    }
  }

  ThemeStyle loadThemeStyle() {
    try {
      return ThemeStyle.valueOf(storage.getInt(keyAppTheme)) ?? ThemeStyle.blue;
    } catch (ex) {
      return ThemeStyle.blue;
    }
  }
}

```