dark constant
NodeTheme
const dark
Pre-configured dark theme for nodes.
Features dark gray background, lighter gray borders, and light blue accents for selected states. Suitable for dark mode applications.
Implementation
static const dark = NodeTheme(
backgroundColor: Color(0xFF2D2D2D),
selectedBackgroundColor: Color(0xFF3D3D3D),
borderColor: Color(0xFF555555),
selectedBorderColor: Color(0xFF64B5F6),
borderWidth: 2.0,
selectedBorderWidth: 2.0,
borderRadius: BorderRadius.all(Radius.circular(8.0)),
padding: EdgeInsets.all(2.0),
titleStyle: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.bold,
color: Color(0xFFE0E0E0),
),
contentStyle: TextStyle(fontSize: 12.0, color: Color(0xFFB0B0B0)),
);