DiagramTheme class

Inheritance
Annotations

Constructors

DiagramTheme({required Color canvasBg, required Color panelBg, required Color gridLine, required Color nodeBg, required Color nodeBorder, required Color textColor, required Color accentColor, required bool isDark})
const

Properties

accentColor Color
final
canvasBg Color
final
gridLine Color
final
hashCode int
The hash code for this object.
no setterinherited
isDark bool
final
nodeBg Color
final
nodeBorder Color
final
panelBg Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({Color? canvasBg, Color? panelBg, Color? gridLine, Color? nodeBg, Color? nodeBorder, Color? textColor, Color? accentColor, bool? isDark}) DiagramTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<DiagramTheme>? other, double t) DiagramTheme
Linearly interpolate with another ThemeExtension object.
override
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