DynamicFontsModel class

Class that defines the DynamicFontsModel entity, which contains its properties and methods.

Constructors

DynamicFontsModel({required Color primaryFontColor, required Color secondaryFontColor, required double titleSize, required double headingSize, required double textSize})
DynamicFontsModel.fromFonts(double inputSize)
Returns a DynamicFontsModel from the given inputSize.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
headingSize ↔ double
Property that defines the headingSize double.
getter/setter pair
primaryFontColor ↔ Color
Property that defines the primaryFontColor color.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondaryFontColor ↔ Color
Property that defines the secondaryFontColor color.
getter/setter pair
textSize ↔ double
Property that defines the textSize double.
getter/setter pair
titleSize ↔ double
Property that defines the titleSize double.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateFontColor() → void
Updates the font color.
updateFonts(double inputSize) → void
Updates the font size.

Operators

operator ==(Object other) → bool
The equality operator.
inherited