fill property Null safety
final
The fill for drawing the icon.
Requires the underlying icon font to support the FILL
FontVariation
axis, otherwise has no effect. Variable font filenames often indicate
the supported axes. Must be between 0.0 (unfilled) and 1.0 (filled),
inclusive.
Can be used to convey a state transition for animation or interaction.
Defaults to nearest IconTheme's IconThemeData.fill.
See also:
- weight, for controlling stroke weight.
- grade, for controlling stroke weight in a more granular way.
- opticalSize, for controlling optical size.
Implementation
final double? fill;