CaravaggioUI class
A class for initializing and accessing the Caravaggio UI theme and colors.
Constructors
- CaravaggioUI.initialize({required Color primaryColor, Color secondaryColor = Colors.transparent, String? fontFamily})
-
Initializes the Caravaggio UI theme.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- primary → MaterialColor
-
Returns the primary color.
no setter
- primaryColor → Color
-
Returns the primary color.
no setter
- primaryColorDark → Color
-
Returns the dark variant of primary color.
no setter
- primaryColorLight → Color
-
Returns the light variant of primary color.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondary → MaterialColor
-
Returns the secondary color.
no setter
- secondaryColor → Color
-
Returns the secondary color.
no setter
- secondaryColorDark → Color
-
Returns the dark variant of secondary color.
no setter
- secondaryColorLight → Color
-
Returns the light variant of secondary color.
no setter
- themeData → ThemeData
-
Returns the initialized theme data.
no setter
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 → CaravaggioUI
-
Returns the singleton instance of CaravaggioUI.
no setter