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
headingSizedouble.getter/setter pair - primaryFontColor ↔ Color
-
Property that defines the
primaryFontColorcolor.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryFontColor ↔ Color
-
Property that defines the
secondaryFontColorcolor.getter/setter pair - textSize ↔ double
-
Property that defines the
textSizedouble.getter/setter pair - titleSize ↔ double
-
Property that defines the
titleSizedouble.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