icon property

Widget icon
final

The Widget (usually an Icon) that's displayed for this NavigationDestination.

The icon will use NavigationBarThemeData.iconTheme. If this is null, the default IconThemeData would use a size of 24.0 and ColorScheme.onSurface.

Implementation

final Widget icon;