MephistoPersistentTheme class
- Inheritance
-
- Object
- HiveObject
- MephistoPersistentTheme
- Annotations
-
- @HiveType(typeId: 0)
Constructors
- MephistoPersistentTheme({String? primaryColor, String? primaryColorString, String? fontFamily, double? borderRadius, double? borderWidth, bool? isDarkTheme, bool? isFilledBgWidgets, String? darkFillColor, String? lightFillColor, String? darkLineColor, String? lightLineColor, })
-
MephistoPersistentTheme.fromJson(Map<
String, dynamic> json) -
factory
Properties
- borderRadius ↔ double?
-
getter/setter pair
- borderWidth ↔ double?
-
getter/setter pair
- box → BoxBase?
-
Get the box in which this object is stored. Returns
null
if object has not been added to a box yet.no setterinherited -
getter/setter pair
- darkFillColor ↔ String?
-
getter/setter pair
- darkLineColor ↔ String?
-
getter/setter pair
-
getter/setter pair
- fontFamily ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDarkTheme ↔ bool?
-
getter/setter pair
- isFilledBgWidgets ↔ bool?
-
getter/setter pair
- isInBox → bool
-
Returns whether this object is currently stored in a box.
no setterinherited
- key → dynamic
-
Get the key associated with this object. Returns
null
if object has not been added to a box yet.no setterinherited - lightFillColor ↔ String?
-
getter/setter pair
- lightLineColor ↔ String?
-
getter/setter pair
- primaryColor ↔ String?
-
getter/setter pair
- primaryColorString ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
getter/setter pair
Methods
-
delete(
) → Future< void> -
Deletes this object from the box it is stored in.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → Future< void> -
Persists this object.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited