badge property

set badge (String label)

Implementation

set badge(String label) {
  _add((w) => Badge(
        child: w,
        label: label == "" ? null : Text(label),
      ));
}