DebugPanelTheme class

Theme data for the debug panel.

Constructors

DebugPanelTheme({required Color backgroundColor, required Color surfaceColor, required Color accentColor, required Color textPrimary, required Color textSecondary, required Color successColor, required Color warningColor, required Color errorColor, required Color infoColor, required Color borderColor, double borderRadius = 8.0, double defaultPadding = 16.0, String? fontFamily, String monoFontFamily = 'monospace'})
Creates a debug panel theme.
const

Properties

accentColor Color
Primary accent color
final
backgroundColor Color
Background color for panels and cards
final
borderColor Color
Border color
final
borderRadius double
Card border radius
final
defaultPadding double
Default padding
final
errorColor Color
Color for error indicators
final
fontFamily String?
Font family (null uses system default)
final
hashCode int
The hash code for this object.
no setterinherited
infoColor Color
Color for info indicators
final
monoFontFamily String
Monospace font family
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successColor Color
Color for success indicators
final
surfaceColor Color
Secondary background color (for cards, app bars)
final
textPrimary Color
Text color for primary content
final
textSecondary Color
Text color for secondary content
final
warningColor Color
Color for warning indicators
final

Methods

copyWith({Color? backgroundColor, Color? surfaceColor, Color? accentColor, Color? textPrimary, Color? textSecondary, Color? successColor, Color? warningColor, Color? errorColor, Color? infoColor, Color? borderColor, double? borderRadius, double? defaultPadding, String? fontFamily, String? monoFontFamily}) DebugPanelTheme
Creates a copy with overridden values.
getHttpMethodColor(String method) Color
Get the HTTP method color.
getLogLevelColor(String level) Color
Get the log level color.
getStatusCodeColor(int? statusCode) Color
Get the status code color.
inputDecoration({String? hintText, Widget? prefixIcon, Widget? suffixIcon}) InputDecoration
Create input decoration for text fields.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
secondaryTextStyle({double fontSize = 12, bool isMonospace = false}) TextStyle
Get secondary text style.
textStyle({double fontSize = 14, FontWeight fontWeight = FontWeight.normal, bool isMonospace = false}) TextStyle
Get text style for the theme.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromScheme(DebugPanelColorScheme scheme) DebugPanelTheme
Creates a theme from a color scheme.

Constants

darkCyan → const DebugPanelTheme
Default dark theme with cyan accent.
darkGreen → const DebugPanelTheme
Dark theme with green accent.
darkOrange → const DebugPanelTheme
Dark theme with orange accent.
darkPurple → const DebugPanelTheme
Dark theme with purple accent.
lightBlue → const DebugPanelTheme
Light theme with blue accent.