icon property

IconData? icon
final

The glyph on the navigation rail. Optional: a section without one gets a generic extension glyph rather than no way to be told apart.

Implementation

final IconData? icon;