EzConfig class

Singleton class for managing user customization

Constructors

EzConfig({required List<String> assetPaths, required SharedPreferences preferences, Map<String, dynamic>? customDefaults})
Factory/external/initialization constructor
factory

Properties

assets List<String>
AssetImage paths for this app
final
defaults Map<String, dynamic>
defaultConfig merged with the constructor provided custom defaults
final
dominantSide Hand
What side of the screen touch points should be on
final
fontFamily String?
Current googleStyles for the app to use
final
hashCode int
The hash code for this object.
no setterinherited
preferences → SharedPreferences
SharedPreferences instance
final
prefs Map<String, dynamic>
Live values in use => defaults merged with preferences storage
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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.
inherited

Static Properties

instance EzConfig
Getter
no setter