Theme class

Controls the UI theming for TikiSdk.

Constructors

Theme()
Builds a default TikiTheme.
Theme.dark()
Builds the dark version of the theme.
Theme.light()
Builds the light version of the theme.

Properties

accentColor Color
Accent color. Used to decorate or highlight items.
no setter
fontFamily String
The default font family for all texts.
no setter
fontPackage String
The package to which the font asset belongs.
no setter
hashCode int
The hash code for this object.
no setterinherited
primaryBackgroundColor Color
Primary background color. The default color for backgrounds.
no setter
primaryTextColor Color
Primary text color. Used in the default text items.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryBackgroundColor Color
Secondary background color.
no setter
secondaryTextColor Color
Secondary text color. Used in specific text items.
no setter

Methods

and() TikiSdk
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAccentColor(Color accentColor) Theme
setFontFamily(String fontFamily) Theme
setFontPackage(String fontPackage) Theme
setPrimaryBackgroundColor(Color primaryBackgroundColor) Theme
setPrimaryTextColor(Color primaryTextColor) Theme
setSecondaryBackgroundColor(Color secondaryBackgroundColor) Theme
toString() String
A string representation of this object.
inherited

Operators

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