selectedIcon property Null safety
The Icon.size and Icon.color of the icon is configured automatically based on the iconSize and color properties using an IconTheme and therefore should not be explicitly configured in the icon widget.
This property is only used if ThemeData.useMaterial3 is true.
final Widget? selectedIcon;