hide method

Future<void> hide(
  1. int tabId
)

Hides the page action. Hidden page actions still appear in the Chrome toolbar, but are grayed out. tabId The id of the tab for which you want to modify the page action.

Implementation

Future<void> hide(int tabId) async {
  await promiseToFuture<void>($js.chrome.pageAction.hide(tabId));
}