WaveTheme class abstract

A class that defines the theme data for Wave UI components.

The theme data includes configuration for various visual properties like colors, typography, and other design elements used throughout the Wave UI framework.

Example:

final theme = WaveTheme(
  colorScheme: WaveColorScheme(...),
);

This class is immutable. To modify a WaveTheme instance, use WaveTheme.copyWith.

Mixed-in types
Annotations
  • @freezed

Constructors

WaveTheme.new({WaveAppBarTheme? appBarTheme, WaveColorScheme? colorScheme, WaveTextTheme? textTheme})
factory

Properties

appBarTheme WaveAppBarTheme
no setterinherited
colorScheme WaveColorScheme
no setterinherited
copyWith → $WaveThemeCopyWith<WaveTheme>
Create a copy of WaveTheme with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textTheme WaveTextTheme
no setterinherited

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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