FlyThemeData class

Main theme data container that holds all tokens

Inheritance

Constructors

FlyThemeData({required FlySpacingToken spacing, required FlyColorToken colors, required FlyRadiusToken radius, required FlyTextStyleToken textStyle, required FlyFontToken font, required FlyFontWeightToken fontWeight, required FlyLeadingToken leading, required FlyTrackingToken tracking, required FlyBreakpointToken breakpoint})
const
FlyThemeData.withDefaults({FlySpacingToken? spacing, FlyColorToken? colors, FlyRadiusToken? radius, FlyTextStyleToken? textStyle, FlyFontToken? font, FlyFontWeightToken? fontWeight, FlyLeadingToken? leading, FlyTrackingToken? tracking, FlyBreakpointToken? breakpoint})
Factory constructor with optional parameters and defaults
factory

Properties

breakpoint → FlyBreakpointToken
final
colors → FlyColorToken
final
font → FlyFontToken
final
fontWeight → FlyFontWeightToken
final
hashCode → int
The hash code for this object.
no setteroverride
leading → FlyLeadingToken
final
radius → FlyRadiusToken
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spacing → FlySpacingToken
final
textStyle → FlyTextStyleToken
final
tracking → FlyTrackingToken
final
type → Object
The extension's type.
no setterinherited

Methods

copyWith({FlySpacingToken? spacing, FlyColorToken? colors, FlyRadiusToken? radius, FlyTextStyleToken? textStyle, FlyFontToken? font, FlyFontWeightToken? fontWeight, FlyLeadingToken? leading, FlyTrackingToken? tracking, FlyBreakpointToken? breakpoint}) → FlyThemeData
Create a copy with updated values
override
lerp(covariant ThemeExtension<FlyThemeData>? other, double t) → FlyThemeData
Linear interpolation between two theme data instances
override
merge(FlyThemeData? other) → FlyThemeData
Merge another theme data into this one
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

fallback() → FlyThemeData
Create default theme data