size property

double? size
final

The size of the icon in logical pixels.

Icons occupy a square with width and height equal to size.

Defaults to the nearest IconTheme's IconThemeData.size.

If this Icon is being placed inside an IconButton, then use IconButton.iconSize instead, so that the IconButton can make the splash area the appropriate size as well. The IconButton uses an IconTheme to pass down the size to the Icon.

Implementation

final double? size;