child property

Widget? child
final

Optional child widget to display inside the badge.

Can be an icon, text, or other widget. If null, displays as a solid colored circle using color.

Implementation

final Widget? child;