menuIconThemeData property Null safety

IconThemeData? menuIconThemeData

The theme for the menu icons.

The menu is compact, so icons are small by design.

Uses any none null property in passed in IconThemeData. If it is is null, or any property in it is null, then it uses the property values from surrounding Theme.of(context).iconTheme if they are defined. For any values that remain null value, the following fallback defaults are used:

  color: remains null, so default [IconThemeData] color behavior is kept.
  size: 16
  opacity: 0.90


final IconThemeData? menuIconThemeData;