AppTheme class
Provides theme configuration for the Flutter AI Chat application.
This class defines both light and dark themes with consistent color schemes, typography, and component styling.
Example:
MaterialApp(
theme: AppTheme.lightTheme,
darkTheme: AppTheme.darkTheme,
themeMode: ThemeMode.system,
)
Constructors
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
- darkTheme → ThemeData
-
Dark theme configuration.
no setter
- lightTheme → ThemeData
-
Light theme configuration.
no setter