updateSecondaryToolbar method

Future<void> updateSecondaryToolbar(
  1. ChromeSafariBrowserSecondaryToolbar secondaryToolbar
)

Sets or updates (if already present) the Remote Views of the secondary toolbar in an existing custom tab session.

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

Future<void> updateSecondaryToolbar(
  ChromeSafariBrowserSecondaryToolbar secondaryToolbar,
) => platform.updateSecondaryToolbar(secondaryToolbar);