M3ETheme class
- Inheritance
-
- Object
- ThemeExtension<
M3ETheme> - M3ETheme
- Annotations
Constructors
- M3ETheme({required M3EColors colors, required M3ETypography typography, required M3EShapes shapes, required M3ESpacing spacing, required M3EMotion motion})
-
const
Properties
- colors → M3EColors
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- motion → M3EMotion
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shapes → M3EShapes
-
final
- spacing → M3ESpacing
-
final
- type → _M3ETypeProxy
-
The extension's type.
no setteroverride
- typography → M3ETypography
-
final
Methods
-
copyWith(
{M3EColors? colors, M3ETypography? typography, M3EShapes? shapes, M3ESpacing? spacing, M3EMotion? motion}) → M3ETheme -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant M3ETheme? other, double t) → M3ETheme -
Linearly interpolate with another ThemeExtension object.
override
-
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 Methods
-
defaults(
ColorScheme scheme) → M3ETheme