LinuxInAppBrowser class
- Inheritance
-
- Object
- PlatformInterface
- LinuxInAppBrowser
Constructors
- LinuxInAppBrowser(PlatformInAppBrowserCreationParams params)
- LinuxInAppBrowser.static()
-
factory
Properties
- contextMenu → ContextMenu?
-
Context menu used by the browser. It should be set before opening the browser.
no setterinherited
- eventHandler ↔ PlatformInAppBrowserEvents?
-
Event handler object that handles the
PlatformInAppBrowserevents.getter/setter pairinherited - findInteractionController → PlatformFindInteractionController?
-
Represents the find interaction feature controller.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
View ID used internally.
no setterinherited
-
initialUserScripts
→ UnmodifiableListView<
UserScript> ? -
Initial list of user scripts to be loaded at start or end of a page loading.
no setterinherited
- params → PlatformInAppBrowserCreationParams
-
The parameters used to initialize the
PlatformInAppBrowser.finalinherited - pullToRefreshController → PlatformPullToRefreshController?
-
Represents the pull-to-refresh feature controller.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webViewController → LinuxInAppWebViewController?
-
WebView Controller that can be used to access the
PlatformInAppWebViewControllerAPI. WhenonExitis fired, this will benulland cannot be used anymore.no setter - windowId → int?
-
The window id of a
CreateWindowAction.windowId.no setterinherited
Methods
-
addMenuItem(
) → void -
Adds a
InAppBrowserMenuItemto the menu. If the browser is already open, it will take effect the next time it is opened. -
addMenuItems(
) → void -
Adds a list of
InAppBrowserMenuItemto the menu. If the browser is already open, it will take effect the next time it is opened. -
close(
) → Future< void> -
Closes the
PlatformInAppBrowserwindow. -
dispose(
{bool isKeepAlive = false}) → void - Disposes the channel and controllers.
-
getSettings(
) → Future< InAppBrowserClassSettings?> -
Gets the current
PlatformInAppBrowsersettings. Returnsnullif it wasn't able to get them. -
handleMethod(
MethodCall call) → Future -
hasMenuItem(
) → bool -
Returns
trueif themenuItemhas been already added, otherwisefalse. -
hide(
) → Future< void> -
Hides the
PlatformInAppBrowserwindow. Calling this has no effect if thePlatformInAppBrowserwas already hidden. -
isHidden(
) → Future< bool> -
Check if the Web View of the
PlatformInAppBrowserinstance is hidden. -
isOpened(
) → bool -
Returns
trueif thePlatformInAppBrowserinstance is opened, otherwisefalse. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openData(
{required String data, String mimeType = "text/html", String encoding = "utf8", WebUri? baseUrl, WebUri? historyUrl, InAppBrowserClassSettings? settings}) → Future< void> -
Opens the
PlatformInAppBrowserinstance withdataas a content, usingbaseUrlas the base URL for it. -
openFile(
{required String assetFilePath, InAppBrowserClassSettings? settings}) → Future< void> -
Opens the
PlatformInAppBrowserinstance with the givenassetFilePathfile. -
openUrlRequest(
{required URLRequest urlRequest, InAppBrowserClassSettings? settings}) → Future< void> -
Opens the
PlatformInAppBrowserinstance with anurlRequest. -
openWithSystemBrowser(
{required WebUri url}) → Future< void> -
This is a static method that opens an
urlin the system browser. You wont be able to use thePlatformInAppBrowsermethods here! -
removeAllMenuItem(
) → void - Removes all the menu items from the list. If the browser is already open, it will take effect the next time it is opened.
-
removeMenuItem(
) → bool -
Removes the
menuItemfrom the list. Returnstrueif it was in the list,falseotherwise. If the browser is already open, it will take effect the next time it is opened. -
removeMenuItems(
) → void -
Removes a list of
menuItemsfrom the list. If the browser is already open, it will take effect the next time it is opened. -
setSettings(
{required InAppBrowserClassSettings settings}) → Future< void> -
Sets the
PlatformInAppBrowsersettings with the newsettingsand evaluates them. -
show(
) → Future< void> -
Displays a
PlatformInAppBrowserwindow that was opened hidden. Calling this has no effect if thePlatformInAppBrowserwas already visible. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited