From 194106b80243d0a605c6d1140b04333308261a13 Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Sun, 17 Apr 2022 21:51:15 +0200 Subject: [PATCH] updated docs for ChromeSafariBrowserMenuItem --- lib/src/chrome_safari_browser/chrome_safari_browser.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/src/chrome_safari_browser/chrome_safari_browser.dart b/lib/src/chrome_safari_browser/chrome_safari_browser.dart index c69fdf71..2f476d1d 100755 --- a/lib/src/chrome_safari_browser/chrome_safari_browser.dart +++ b/lib/src/chrome_safari_browser/chrome_safari_browser.dart @@ -110,11 +110,15 @@ class ChromeSafariBrowser { } ///Adds a [ChromeSafariBrowserMenuItem] to the menu. + /// + ///**NOTE**: Not available in an Android Trusted Web Activity. void addMenuItem(ChromeSafariBrowserMenuItem menuItem) { this._menuItems[menuItem.id] = menuItem; } ///Adds a list of [ChromeSafariBrowserMenuItem] to the menu. + /// + ///**NOTE**: Not available in an Android Trusted Web Activity. void addMenuItems(List menuItems) { menuItems.forEach((menuItem) { this._menuItems[menuItem.id] = menuItem; @@ -161,6 +165,8 @@ class ChromeSafariBrowser { } ///Class that represents a custom menu item for a [ChromeSafariBrowser] instance. +/// +///**NOTE**: Not available in an Android Trusted Web Activity. class ChromeSafariBrowserMenuItem { ///The menu item id int id;