WavePlayerColors class
Convenience accessors for Wave Player colors.
Colors resolve from the current theme, which can be changed at runtime via setTheme.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Properties
- audioBackground → Color
-
Audio player background.
no setter
- audioBorder → Color
-
Audio player border.
no setter
- audioSurface → Color
-
Audio player surface.
no setter
- background → Color
-
General background color.
no setter
- black → Color
-
Pure black.
no setter
- error → Color
-
Error / destructive color.
no setter
- green → Color
-
Alias for success.
no setter
- info → Color
-
Informational color (resolves to primary).
no setter
- neutral10 → Color
-
Neutral gray at 10 % brightness (dark).
no setter
- neutral50 → Color
-
Neutral gray at 50 % brightness.
no setter
- neutral60 → Color
-
Neutral gray at 60 % brightness.
no setter
- neutral70 → Color
-
Neutral gray at 70 % brightness.
no setter
- neutral80 → Color
-
Neutral gray at 80 % brightness.
no setter
- orange → Color
-
Alias for warning.
no setter
- playButton → Color
-
Play button background color.
no setter
- playButtonPressed → Color
-
Play button pressed color.
no setter
- primary → Color
-
Primary brand color.
no setter
- primary10 → Color
-
Primary color at 10 % intensity.
no setter
- primary30 → Color
-
Primary color at 30 % intensity.
no setter
- primary50 → Color
-
Primary color at 50 % intensity.
no setter
- primary70 → Color
-
Primary color at 70 % intensity (30 % white blend).
no setter
- primaryDark → Color
-
Dark variant of the primary color.
no setter
- primaryLight → Color
-
Light variant of the primary color.
no setter
- red → Color
-
Alias for error — kept for convenience.
no setter
- secondary → Color
-
Secondary accent color.
no setter
- success → Color
-
Success / positive color.
no setter
- surface → Color
-
Surface color for cards and elevated elements.
no setter
- surfaceVariant → Color
-
Surface variant (softer contrast).
no setter
- textOnPrimary → Color
-
Text color rendered on top of primary backgrounds.
no setter
- textPrimary → Color
-
Primary text color.
no setter
- textSecondary → Color
-
Secondary (muted) text color.
no setter
- theme → WavePlayerTheme
-
The current WavePlayerTheme.
no setter
- warning → Color
-
Warning color.
no setter
- waveformActive → Color
-
Active waveform bar color.
no setter
- waveformInactive → Color
-
Inactive waveform bar color.
no setter
- waveformThumb → Color
-
Waveform slider thumb color.
no setter
- white → Color
-
Pure white.
no setter
Static Methods
-
setTheme(
WavePlayerTheme theme) → void -
Replaces the current theme with
theme.