WaveColorScheme class abstract

A color scheme defines the colors that represent the application's brand in styles. It defines the colors that use in a proper and semantic way. Used to represent the application's brand in styles.

Mixed-in types
Annotations
  • @freezed

Constructors

WaveColorScheme.new({required Brightness brightness, required Color barrier, required Color background, required Color primary, required Color onPrimary, required Color secondary, required Color onSecondary, required Color labelPrimary, required Color labelSecondary, required Color labelTertiary, required Color success, required Color error, required Color warning, required Color tip, required Color contentPrimary, required Color contentSecondary, required Color contentTertiary, required Color border, required Color divider, @Default(0.6) double hoveredOpacity, @Default(0.3) double disabledOpacity})
Creates a instance of WaveColorScheme.
const
factory
WaveColorScheme.light()
factory

Properties

background Color
no setterinherited
barrier Color
no setterinherited
border Color
no setterinherited
brightness Brightness
no setterinherited
contentPrimary Color
no setterinherited
contentSecondary Color
no setterinherited
contentTertiary Color
no setterinherited
copyWith → $WaveColorSchemeCopyWith<WaveColorScheme>
Create a copy of WaveColorScheme with the given fields replaced by the non-null parameter values.
no setterinherited
disabledOpacity double
no setterinherited
divider Color
no setterinherited
error Color
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hoveredOpacity double
no setterinherited
labelPrimary Color
no setterinherited
labelSecondary Color
no setterinherited
labelTertiary Color
no setterinherited
onPrimary Color
no setterinherited
onSecondary Color
no setterinherited
primary Color
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
no setterinherited
success Color
no setterinherited
tip Color
no setterinherited
warning Color
no setterinherited

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
disable(Color foreground, [Color? background]) Color
Returns a disabled color for the foreground on the background.
hover(Color foreground, [Color? background]) Color
Returns a hovered color for the foreground on the background.
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