child property

Widget? child
final

The widget that the badge is stacked on top of.

Typically this is an default sized Icon that's part of a BottomNavigationBarItem or a NavigationRailDestination.

Implementation

final Widget? child;