ThemeExtension<T extends ThemeExtension<T>> class abstract

An interface that defines custom additions to a ContentTheme object.

Implementers

Constructors

ThemeExtension()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Object
The extension's type.
no setter

Methods

buildStyles(ContentTheme theme) → List<StyleRule>
Builds additional styles for this extension.
buildVariables(ContentTheme theme) → Map<String, Object>
Builds CSS variables for this extension.
copyWith() → ThemeExtension<T>
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
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