iconFilled method
Converts the IconData to an Icon widget with a specific fill value.
This is a convenience method equivalent to calling icon(fill: fill).
The fill value is useful for variable icons that support fill variations.
Parameters:
fill: The fill value (0.0 to 1.0, where 1.0 is completely filled).
Returns an Icon widget with the specified fill value.
Example:
Icons.star.iconFilled(0.5); // Half-filled star
Icons.favorite.iconFilled(1.0); // Completely filled heart
Implementation
Icon iconFilled(double fill) => icon(fill: fill);