grade property Null safety

double? grade
final

The grade (granular stroke weight) for drawing the icon.

Requires the underlying icon font to support the GRAD FontVariation axis, otherwise has no effect. Variable font filenames often indicate the supported axes. Can be negative.

Grade and weight both affect a symbol's stroke weight (thickness), but grade has a smaller impact on the size of the symbol.

Grade is also available in some text fonts. One can match grade levels between text and symbols for a harmonious visual effect. For example, if the text font has a -25 grade value, the symbols can match it with a suitable value, say -25.

Defaults to nearest IconTheme's IconThemeData.grade.

See also:

Implementation

final double? grade;