CustomTabsPluginAndroid class

The Android implementation of CustomTabsPlatform.

This class implements the package:flutter_custom_tabs functionality for Android.

Inheritance
  • Object
  • PlatformInterface
  • CustomTabsPluginAndroid

Constructors

CustomTabsPluginAndroid({CustomTabsApi? api})
Creates a new plugin implementation instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeAllIfPossible() Future<void>
Closes all custom tabs that were opened earlier by launch.
launch(String urlString, {bool prefersDeepLink = false, PlatformOptions? customTabsOptions, PlatformOptions? safariVCOptions}) Future<void>
Passes url with options to the underlying platform for launching a custom tab.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith() → void
Registers this class as the default instance of CustomTabsPlatform.