badge property

dynamic badge
final

An optional badge to display on the button (e.g. notification count, status dot, text, or custom widget).

Supports Widget, String, num/int, or bool (for dot indicator).

Implementation

final dynamic badge;