icon property
final
The icon shown in this tab. If label is also provided, the icon will be shown above it.
It is recommended the child is an Icon, other Widget types may not work correctly.
This component will always be constrained to a size of 24 x 24.
Implementation
final Widget? icon;