DashboardTheme class

Theme configuration for the performance dashboard

Constructors

DashboardTheme.new({required Color backgroundColor, required Color textColor, required Color warningColor, required Color errorColor, required Color chartLineColor, required Color chartFillColor})
Creates a new dashboard theme
const
DashboardTheme.dark()
Creates a dark theme
factory
DashboardTheme.light()
Creates a light theme
factory

Properties

backgroundColor Color
The background color of the dashboard
final
chartFillColor Color
The color for chart fills
final
chartLineColor Color
The color for chart lines
final
errorColor Color
The text color for error messages
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color
The text color for normal text
final
warningColor Color
The text color for warning messages
final

Methods

copyWith({Color? backgroundColor, Color? textColor, Color? warningColor, Color? errorColor, Color? chartLineColor, Color? chartFillColor}) DashboardTheme
Creates a copy of this theme with the given fields replaced
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