setBadgeTextColor method

Future<void> setBadgeTextColor(
  1. SetBadgeTextColorDetails details
)

Sets the text color for the badge.

Implementation

Future<void> setBadgeTextColor(SetBadgeTextColorDetails details) async {
  await promiseToFuture<void>(
      $js.chrome.action.setBadgeTextColor(details.toJS));
}