icon property

Widget? icon
final

Icon widget displayed when the tab is not selected.

Also used when selected if activeIcon is not provided. Standard Icon widgets automatically pick up the correct color and size from the parent IconTheme.

Implementation

final Widget? icon;