FluffyThemeData class
Theme configuration data containing colors, typography, and brightness.
Access via FluffyTheme.of(context) or the convenience extension context.fluffyTheme.
- Annotations
Constructors
- FluffyThemeData({required ColorData colors, required TypographyData typography, Brightness brightness = Brightness.light, TargetPlatform? platform})
-
const
- FluffyThemeData.fallback({Brightness brightness = Brightness.light})
-
factory
-
FluffyThemeData.fromJson(Map<
String, dynamic> json, {Brightness brightness = Brightness.light}) -
factory
Properties
- brightness → Brightness
-
final
- colors → ColorData
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isDark → bool
-
no setter
- isLight → bool
-
no setter
- platform → TargetPlatform?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typography → TypographyData
-
final
Methods
-
copyWith(
{ColorData? colors, TypographyData? typography, Brightness? brightness, TargetPlatform? platform}) → FluffyThemeData -
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.
override
Static Methods
-
lerp(
FluffyThemeData a, FluffyThemeData b, double t) → FluffyThemeData