MiniDashboardTheme class

Theme data for mini_dashboard_widgets

Constructors

MiniDashboardTheme.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

defaultDarkColors List<Color>
Default colors for charts in dark mode
final
defaultLightColors List<Color>
Default colors for charts in light mode
final

Static Methods

adaptiveColor(BuildContext context, Color lightColor, Color darkColor) Color
Returns the appropriate color based on theme brightness
adaptiveTextStyle(BuildContext context, TextStyle lightStyle, TextStyle darkStyle) TextStyle
Returns the appropriate text style based on theme brightness
defaultDarkTitleStyle(BuildContext context) TextStyle
Default title style for dark theme
defaultDarkValueStyle(BuildContext context) TextStyle
Default value style for dark theme
defaultLightTitleStyle(BuildContext context) TextStyle
Default title style for light theme
defaultLightValueStyle(BuildContext context) TextStyle
Default value style for light theme

Constants

defaultAnimationDuration → const Duration
Default animation duration for charts
defaultBarRadius → const double
Default bar chart radius
defaultBarWidth → const double
Default bar chart width
defaultCardBorderRadius → const double
Default card border radius
defaultCardElevation → const double
Default card elevation
defaultCardPadding → const EdgeInsets
Default card padding
defaultChartRadius → const double
Default chart radius
defaultPieSectionSpace → const double
Default pie chart section space