CupertinoIconThemeData class Null safety
An IconThemeData subclass that automatically resolves its color when retrieved using IconTheme.of.
- Inheritance
-
- Object
- IconThemeData
- CupertinoIconThemeData
- Mixed in types
Constructors
Properties
- 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.
read-onlyinherited
- isConcrete → bool
-
Whether all the properties (except shadows) of this object are non-null.
read-onlyinherited
- opacity → double?
-
An opacity to apply to both explicit and default icon colors.
read-onlyinherited
- opticalSize → double?
-
The default for Icon.opticalSize.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
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}) → 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, simply returns this icon theme.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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