CupertinoIconThemeData class

An IconThemeData subclass that automatically resolves its color when retrieved using IconTheme.of.

Inheritance
Mixed in types

Constructors

CupertinoIconThemeData({double? size, double? fill, double? weight, double? grade, double? opticalSize, Color? color, double? opacity, List<Shadow>? shadows, bool? applyTextScaling})
Creates a CupertinoIconThemeData.
const

Properties

applyTextScaling bool?
The default for Icon.applyTextScaling.
finalinherited
color Color?
The default for Icon.color.
finalinherited
fill double?
The default for Icon.fill.
finalinherited
grade double?
The default for Icon.grade.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isConcrete bool
Whether all the properties (except shadows) of this object are non-null.
no setterinherited
opacity double?
An opacity to apply to both explicit and default icon colors.
no setterinherited
opticalSize double?
The default for Icon.opticalSize.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadows List<Shadow>?
The default for Icon.shadows.
finalinherited
size double?
The default for Icon.size.
finalinherited
weight double?
The default for Icon.weight.
finalinherited

Methods

copyWith({double? size, double? fill, double? weight, double? grade, double? opticalSize, Color? color, double? opacity, List<Shadow>? shadows, bool? applyTextScaling}) CupertinoIconThemeData
Creates a copy of this icon theme but with the given fields replaced with the new values.
override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
merge(IconThemeData? other) IconThemeData
Returns a new icon theme that matches this icon theme but with some values replaced by the non-null parameters of the given icon theme. If the given icon theme is null, returns this icon theme.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(BuildContext context) IconThemeData
Called by IconTheme.of to resolve color against the given BuildContext.
override
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited