light property
Built-in light theme with bright colors and subtle grid.
Suitable for applications with light backgrounds. Features:
- White background
- Light grey dot grid
- Cyan selection and highlights
- Black text and borders
Implementation
static final light = NodeFlowTheme(
nodeTheme: NodeTheme.light,
connectionTheme: ConnectionTheme.light,
temporaryConnectionTheme: ConnectionTheme.light.copyWith(
color: Color(0xFF666666),
startPoint: ConnectionEndPoint.none,
endPoint: ConnectionEndPoint.capsuleHalf,
dashPattern: [5, 5],
),
portTheme: PortTheme.light,
labelTheme: LabelTheme.light,
annotationTheme: AnnotationTheme.light,
gridTheme: GridTheme.light,
selectionTheme: SelectionTheme.light,
cursorTheme: CursorTheme.light,
backgroundColor: Colors.white,
);