SetBadgeTextDetails constructor
SetBadgeTextDetails(
{ - String? text,
- int? tabId,
})
Implementation
SetBadgeTextDetails({
/// 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.
String? text,
/// Limits the change to when a particular tab is selected. Automatically
/// resets when the tab is closed.
int? tabId,
}) : _wrapped = $js.SetBadgeTextDetails(
text: text,
tabId: tabId,
);