weight property Null safety
final
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:
- fill, for controlling fill.
- grade, for controlling stroke weight in a more granular way.
- opticalSize, for controlling optical size.
- https://fonts.google.com/knowledge/glossary/weight_axis
Implementation
final double? weight;