setSecondaryToolbar method

void setSecondaryToolbar(
  1. ChromeSafariBrowserSecondaryToolbar secondaryToolbar
)

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

NOTE: Not available in a Trusted Web Activity.

Officially Supported Platforms/Implementations:

Implementation

void setSecondaryToolbar(
    ChromeSafariBrowserSecondaryToolbar secondaryToolbar) {
  throw UnimplementedError(
      'setSecondaryToolbar is not implemented on the current platform');
}