TemplateTheme class
A class that defines the theme for each resume layout template.
The TemplateTheme
class provides a set of constants for the
colors, fonts, and other visual elements that are
specific to each resume layout template. This class is responsible
for handling the theme of each resume layout and
ensuring that the correct colors and fonts are used in each template.
The theme of each resume layout is accessible and handled in this
class through a set of static constants. Each
constant corresponds to a different theme element, such as
backgroundColor
, primaryColor
, secondaryColor
,
headlineFont
, and bodyFont
. These constants can be used to
set the theme of a specific layout by passing them to
a Theme
widget or a similar mechanism for setting the theme
of a widget subtree.
To add a new resume layout template, simply define a new set of constants for the colors, fonts, and other visual elements that are specific to the layout. These constants should be added as static constants to this class and should follow the naming conventions used by the existing constants. Each new layout template should have a unique set of constants to ensure that the correct theme is applied to each layout.
This class is intended to be used as a global theme for the entire resume generation process, and should be used in conjunction with the layout templates and other widgets that make up the resume generation process.
Constructors
- TemplateTheme(TemplateType type, ThemeData themeData)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- themeData → ThemeData
-
final
- type → TemplateType
-
templateType
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- business ↔ TemplateTheme
-
getter/setter pair
- classic ↔ TemplateTheme
-
getter/setter pair
- globalTextTheme ↔ TextTheme
-
getter/setter pair
- modern ↔ TemplateTheme
-
getter/setter pair
- none ↔ TemplateTheme
-
getter/setter pair
- technical ↔ TemplateTheme
-
getter/setter pair