weight property

double? weight

The stroke weight for drawing the icon.

Requires the underlying icon font to support the wght FontVariation axis, otherwise has no effect. Variable font filenames often indicate the supported axes. Must be greater than 0.

Defaults to nearest IconTheme's IconThemeData.weight.

See also:


final double? weight;