AppThemeExtension class

Provides additional application-specific colors through Flutter's ThemeExtension system.

Use this extension for semantic colors that are not represented by Flutter's standard ColorScheme.

Inheritance

Constructors

AppThemeExtension({required ResolvedContentColors content, required ResolvedStatusColors status, required ResolvedOutlinesColors outlines})
const

Properties

content → ResolvedContentColors
final
hashCode → int
The hash code for this object.
no setteroverride
outlines → ResolvedOutlinesColors
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → ResolvedStatusColors
final
type → Object
The extension's type.
no setterinherited

Methods

copyWith({ResolvedContentColors? content, ResolvedStatusColors? status, ResolvedOutlinesColors? outlines}) → AppThemeExtension
Creates a copy of this extension with the specified values replaced.
override
lerp(covariant AppThemeExtension? other, double t) → AppThemeExtension
Interpolates between this extension and another theme extension.
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.
override