MixThemeData class

Annotations

Constructors

MixThemeData({Map<BreakpointToken, Breakpoint>? breakpoints, Map<ColorToken, Color>? colors, Map<SpaceToken, double>? spaces, Map<TextStyleToken, TextStyle>? textStyles, Map<RadiusToken, Radius>? radii})
factory
MixThemeData.empty()
const
MixThemeData.raw({required StyledTokens<TextStyleToken, TextStyle> textStyles, required StyledTokens<ColorToken, Color> colors, required StyledTokens<BreakpointToken, Breakpoint> breakpoints, required StyledTokens<RadiusToken, Radius> radii, required StyledTokens<SpaceToken, double> spaces})
const
MixThemeData.withMaterial({Map<BreakpointToken, Breakpoint>? breakpoints, Map<ColorToken, Color>? colors, Map<SpaceToken, double>? spaces, Map<TextStyleToken, TextStyle>? textStyles, Map<RadiusToken, Radius>? radii})
factory

Properties

breakpoints StyledTokens<BreakpointToken, Breakpoint>
final
colors StyledTokens<ColorToken, Color>
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
no setter
radii StyledTokens<RadiusToken, Radius>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaces StyledTokens<SpaceToken, double>
final
stringify bool
no setterinherited
textStyles StyledTokens<TextStyleToken, TextStyle>
final

Methods

copyWith({Map<BreakpointToken, Breakpoint>? breakpoints, Map<ColorToken, Color>? colors, Map<SpaceToken, double>? spaces, Map<TextStyleToken, TextStyle>? textStyles, Map<RadiusToken, Radius>? radii}) MixThemeData
getDiff(EqualityMixin other) Map<String, String>
inherited
merge(MixThemeData other) MixThemeData
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