IconSpec class
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
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