SchematicColorScheme class
Color scheme for schematic visualization with light and dark theme support.
Constructors
- SchematicColorScheme({required Color background, required Color nodeBackground, required Color nodeBorder, required Color nodeText, required Color portStroke, required Color wire, required Color wireHighlight, required Color externalPortFill, required Color junctionPoint, required Color operatorFill, required Color constantFill})
-
The color scheme for our schematic viewer.
const
Properties
- background → Color
-
Background color of the canvas.
final
- constantFill → Color
-
Fill color for constant-value nodes.
final
- externalPortFill → Color
-
Fill color for external port nodes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- junctionPoint → Color
-
Color for junction points where multiple wires intersect.
final
- nodeBackground → Color
-
Fill color for schematic node/block rectangles.
final
- nodeBorder → Color
-
Border/stroke color for schematic nodes.
final
- nodeText → Color
-
Text color for node labels and annotations.
final
- operatorFill → Color
-
Fill color for logic gate operator symbols (AND, OR, XOR, etc).
final
- portStroke → Color
-
Stroke color for I/O port markers (arrows indicating input/output direction).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wire → Color
-
Color for connection wires/edges between ports.
final
- wireHighlight → Color
-
Highlight color for selected or hovered wires.
final
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
Constants
- dark → const SchematicColorScheme
- Dark theme - matches VSCode dark theme (#1E1E1E background)
- defaultScheme → const SchematicColorScheme
- Default theme (light)
- light → const SchematicColorScheme
- Light theme - default color scheme