ChromeSafariBrowserActionButton constructor

ChromeSafariBrowserActionButton({
  1. required int id,
  2. required Uint8List icon,
  3. required String description,
  4. @Deprecated("Use onClick instead") void action(
    1. String,
    2. String
    )?,
  5. void onClick(
    1. WebUri?,
    2. String
    )?,
  6. bool shouldTint = false,
})

NOTE for Android native WebView: Not available in an Android Trusted Web Activity.

Officially Supported Platforms/Implementations:

  • Android native WebView

Implementation

ChromeSafariBrowserActionButton(
    {required this.id,
    required this.icon,
    required this.description,
    @Deprecated("Use onClick instead") this.action,
    this.onClick,
    this.shouldTint = false});