SettingsState constructor

const SettingsState({
  1. String defaultStandardId = 'rebt_spain',
  2. String locale = 'es',
  3. TextSizePreference textSize = TextSizePreference.medium,
  4. AppThemeMode themeMode = AppThemeMode.dark,
  5. bool notificationsEnabled = true,
  6. bool highContrastEnabled = false,
  7. String version = '',
  8. bool isLoading = false,
})

Implementation

const SettingsState({
  this.defaultStandardId = 'rebt_spain',
  this.locale = 'es',
  this.textSize = TextSizePreference.medium,
  this.themeMode = AppThemeMode.dark,
  this.notificationsEnabled = true,
  this.highContrastEnabled = false,
  this.version = '',
  this.isLoading = false,
});