TopicTheme class

A ThemeExtension for semantic theme topic group color properties.

Inheritance

Constructors

TopicTheme({Color? generalColor, Color? colorsColor, Color? componentsColor, Color? controlsColor, Color? inputsColor, Color? barsColor, Color? navigationColor, Color? surfacesColor, Color? textsColor})
const
TopicTheme.harmonized(Color sourceColor, Brightness brightness)
A color harmonized topic theme, based on brightness where colors are harmonized towards a given sourceColor.
factory

Properties

barsColor Color?
final
colorsColor Color?
final
componentsColor Color?
final
controlsColor Color?
final
generalColor Color?
final
hashCode int
The hash code for this object.
no setterinherited
inputsColor Color?
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surfacesColor Color?
final
textsColor Color?
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({Color? generalColor, Color? colorsColor, Color? componentsColor, Color? controlsColor, Color? inputsColor, Color? barsColor, Color? navigationColor, Color? surfacesColor, Color? textsColor}) TopicTheme
Must override the copyWith method.
override
lerp(covariant ThemeExtension<TopicTheme>? other, double t) TopicTheme
Must override the lerp method.
override
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

Constants

dark → const TopicTheme
Topic theme colors for dark mode.
light → const TopicTheme
Topic theme colors for light mode.