Appbridge class

Constructors

Appbridge()
factory

Properties

context → BuildContext?
no setter
hashCode → int
The hash code for this object.
no setterinherited
isReady → bool
no setter
mainContext → BuildContext?
no setter
methodChannel → MethodChannel?
no setter
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
ui → UIModule?
no setter

Methods

appIcon({required String styleId}) → Future<BridgeResponse>
callModuleMethod(String method, Map<String, dynamic> params) → Future<BridgeResponse>
clearContext() → void
dispose() → void
emitEvent(String event, dynamic payload) → Future<void>
getPlatformVersion() → Future<String?>
initialize(InAppWebViewController webViewController, BuildContext context, {NavOpenCallback? onNavOpen, NavCloseCallback? onNavClose, NavSetTitleCallback? onNavSetTitle, NavSetBarsCallback? onNavSetBars, NavReplaceCallback? onNavReplace, LoadUrlCallback? onLoadUrl, OnAddShortcutCallback? onAddShortcut, OnAppIconCallback? onAppIcon}) → Future<void>
injectJavaScript() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerWebViewController(InAppWebViewController controller) → void
toString() → String
A string representation of this object.
inherited
unregisterWebViewController(InAppWebViewController controller) → void

Operators

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