CacheManagerTheme class

Theme configuration for the cache manager UI widgets.

Customize colors, text styles, and spacing to match your app's design language.

CacheManagerScreen(
  theme: CacheManagerTheme(
    primaryColor: Colors.blue,
    backgroundColor: Color(0xFF1A1A2E),
    cardColor: Color(0xFF16213E),
  ),
)

Constructors

CacheManagerTheme({Color? primaryColor, Color? backgroundColor, Color? cardColor, Color? textColor, Color? subtitleColor, Color? dangerColor, Color? successColor, List<Color>? chartColors, double? borderRadius, TextStyle? headerStyle, TextStyle? bodyStyle, TextStyle? captionStyle})
Creates a new CacheManagerTheme.
const

Properties

backgroundColor Color?
Background color for the screen.
final
bodyStyle TextStyle?
Text style for body text.
final
borderRadius double?
Border radius for cards and buttons.
final
captionStyle TextStyle?
Text style for captions and small labels.
final
cardColor Color?
Card background color for list tiles and sections.
final
chartColors List<Color>?
List of colors used for donut chart segments.
final
dangerColor Color?
Color for the danger/clear button.
final
hashCode int
The hash code for this object.
no setterinherited
headerStyle TextStyle?
Text style for section headers.
final
primaryColor Color?
Primary accent color used for buttons, chart highlights, and active states.
final
resolvedBorderRadius double
no setter
resolvedChartColors List<Color>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitleColor Color?
Text color for secondary/subtitle labels.
final
successColor Color?
Color for success states (freed space confirmation).
final
textColor Color?
Text color for primary labels.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolvedBackgroundColor(BuildContext context) Color
resolvedCardColor(BuildContext context) Color
resolvedDangerColor(BuildContext context) Color
resolvedPrimaryColor(BuildContext context) Color
Resolves colors using the given BuildContext theme or defaults.
resolvedSubtitleColor(BuildContext context) Color
resolvedSuccessColor(BuildContext context) Color
resolvedTextColor(BuildContext context) Color
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultChartColors → const List<Color>
Default chart colors — a vibrant, harmonious palette.