SettingsState class
Constructors
- SettingsState({String defaultStandardId = 'rebt_spain', String locale = 'es', TextSizePreference textSize = TextSizePreference.medium, AppThemeMode themeMode = AppThemeMode.dark, bool notificationsEnabled = true, bool highContrastEnabled = false, String version = '', bool isLoading = false})
-
const
Properties
- defaultStandardId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highContrastEnabled → bool
-
final
- isLoading → bool
-
final
- locale → String
-
final
- notificationsEnabled → bool
-
final
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited - textSize → TextSizePreference
-
final
- themeMode → AppThemeMode
-
final
- version → String
-
final
Methods
-
copyWith(
{String? defaultStandardId, String? locale, TextSizePreference? textSize, AppThemeMode? themeMode, bool? notificationsEnabled, bool? highContrastEnabled, String? version, bool? isLoading}) → SettingsState -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAppPreferences(
) → AppPreferences -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited