text property

String? get text

Any number of characters can be passed, but only about four can fit in the space. If an empty string ('') is passed, the badge text is cleared. If tabId is specified and text is null, the text for the specified tab is cleared and defaults to the global badge text.

Implementation

String? get text => _wrapped.text;
set text (String? v)

Implementation

set text(String? v) {
  _wrapped.text = v;
}