IconThemeData class Null safety

Defines the color, opacity, and size of icons.

Annotations

Constructors

IconThemeData({PdfColor? color, double? opacity, double? size, Font? font})
Creates an icon theme data.
const
IconThemeData.fallback(Font? font)
Creates an icon them with some reasonable default values.
const

Properties

color PdfColor?
The default color for icons.
final
font Font?
The font to use
final
hashCode int
The hash code for this object. [...]
read-only, inherited
opacity double?
An opacity to apply to both explicit and default icon colors.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size double?
The default size for icons.
final

Methods

copyWith({PdfColor? color, double? opacity, double? size, Font? font}) IconThemeData
Creates a copy of this icon theme but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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