DevToolsTheme class
Theme configuration for Dev Tools Allows customization of colors to match your app's branding
Constructors
- DevToolsTheme({Color primaryColor = const Color(0xFF6200EE), Color secondaryColor = const Color(0xFF03DAC6), Color successColor = const Color(0xFF4CAF50), Color warningColor = const Color(0xFFFF9800), Color errorColor = const Color(0xFFF44336), Color backgroundColor = Colors.white, Color textColor = const Color(0xFF212121), Color cardColor = Colors.white})
-
const
- DevToolsTheme.dark()
-
Dark theme
factory
- DevToolsTheme.fromAppColor(Color appPrimaryColor)
-
Create a theme from your app's primary color
factory
- DevToolsTheme.green()
-
Green theme
factory
- DevToolsTheme.material()
-
Material Design Blue theme (default)
factory
- DevToolsTheme.orange()
-
Orange theme
factory
- DevToolsTheme.purple()
-
Purple theme
factory
- DevToolsTheme.red()
-
Red theme
factory
- DevToolsTheme.teal()
-
Teal theme
factory
Properties
- backgroundColor → Color
-
final
- cardColor → Color
-
final
- errorColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- primaryColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryColor → Color
-
final
- successColor → Color
-
final
- textColor → Color
-
final
- warningColor → Color
-
final
Methods
-
copyWith(
{Color? primaryColor, Color? secondaryColor, Color? successColor, Color? warningColor, Color? errorColor, Color? backgroundColor, Color? textColor, Color? cardColor}) → DevToolsTheme -
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