setSecondaryToolbar method

void setSecondaryToolbar(
  1. ChromeSafariBrowserSecondaryToolbar secondaryToolbar
)

Sets the remote views displayed in the secondary toolbar in a custom tab.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • secondaryToolbar: all platforms

Use the PlatformChromeSafariBrowser.isMethodSupported method to check if this method is supported at runtime.

Implementation

void setSecondaryToolbar(
  ChromeSafariBrowserSecondaryToolbar secondaryToolbar,
) => platform.setSecondaryToolbar(secondaryToolbar);