updateSecondaryToolbar method
Sets or updates (if already present) the Remote Views of the secondary toolbar in an existing custom tab session.
NOTE: Not available in a Trusted Web Activity.
Officially Supported Platforms/Implementations:
Implementation
@override
Future<void> updateSecondaryToolbar(
ChromeSafariBrowserSecondaryToolbar secondaryToolbar) async {
Map<String, dynamic> args = <String, dynamic>{};
args.putIfAbsent('secondaryToolbar', () => secondaryToolbar.toMap());
await channel?.invokeMethod("updateSecondaryToolbar", args);
this._secondaryToolbar = secondaryToolbar;
}