IconSpec class

Inheritance

Constructors

IconSpec({Color? color, double? size, double? weight, double? grade, double? opticalSize, List<Shadow>? shadows, TextDirection? textDirection, bool? applyTextScaling, double? fill, AnimatedData? animated})
const
IconSpec.exhaustive({required Color? color, required double? size, required double? weight, required double? grade, required double? opticalSize, required List<Shadow>? shadows, required TextDirection? textDirection, required bool? applyTextScaling, required double? fill, required AnimatedData? animated})
const

Properties

animated AnimatedData?
finalinherited
applyTextScaling bool?
final
color Color?
final
fill double?
final
grade double?
final
hashCode int
The hash code for this object.
no setterinherited
isAnimated bool
no setterinherited
opticalSize double?
final
props List<Object?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadows List<Shadow>?
final
size double?
final
stringify bool
no setterinherited
textDirection TextDirection?
final
type Type
no setterinherited
weight double?
final

Methods

copyWith({Color? color, double? size, double? fill, TextDirection? textDirection, double? weight, double? grade, double? opticalSize, List<Shadow>? shadows, String? semanticLabel, bool? applyTextScaling, AnimatedData? animated}) IconSpec
Creates a copy of this spec with the given fields replaced by the non-null parameter values.
override
getDiff(EqualityMixin other) Map<String, String>
inherited
lerp(covariant IconSpec? other, double t) IconSpec
Linearly interpolate with another Spec 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

from(MixData mix) IconSpec
of(BuildContext context) IconSpec