AppPreferences class

Domain entity representing app-wide preferences

Constructors

AppPreferences({required String locale, required TextSizePreference textSize, required AppThemeMode themeMode, required bool notificationsEnabled, required bool highContrastEnabled})
const
AppPreferences.defaults()
Default preferences
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
highContrastEnabled bool
Whether high contrast mode is enabled (for future use)
final
locale String
Current locale (language) setting ('es' or 'en')
final
notificationsEnabled bool
Whether notifications are enabled (for future use)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textSize TextSizePreference
Text size preference for the entire app
final
themeMode AppThemeMode
Theme mode (light, dark, high contrast, etc.)
final

Methods

copyWith({String? locale, TextSizePreference? textSize, AppThemeMode? themeMode, bool? notificationsEnabled, bool? highContrastEnabled}) AppPreferences
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override