icon property

Widget? icon
final

The icon to show for this drawer item.

By default no icon is shown.

This is not necessarily the same as the image shown in the dialog box itself; which is controlled by the applicationIcon property.

Implementation

final Widget? icon;