DiagramTheme class
- Inheritance
-
- Object
- ThemeExtension<
DiagramTheme> - DiagramTheme
- Annotations
Constructors
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