KeyColors class final

Face, label and edge colours of one key role.

Annotations

Constructors

KeyColors({required int face, required int label, required int edge})
const
KeyColors.fromJson(Object? json)
factory

Properties

edge → int
Outline / extruded side / rim colour (NeoPOP sides, outlined and accessible rims). Renderers that draw no edge ignore it.
final
face → int
Key face fill (opaque, or translucent for glass).
final
hashCode → int
The hash code for this object.
no setteroverride
label → int
Label glyph colour (solved against face).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? face, int? label, int? edge}) → KeyColors
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override