WebViewCallbackHandles class abstract

Constructors

WebViewCallbackHandles()

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

canBack() Future<bool>
clearCache() → void
清空web缓存
currentUrl() Future<String>
evalJavascript(String methodNameOrScript, List<Object> params, {bool isInjectionMethod}) → void
methodNameOrScript 脚本方法名或脚本对象 params 若第一个参数为方法名时,该参数接收脚本方法参数 isInjectionMethod 是否注入方法,isInjectionMethod==false时参数params不生效
finish(BuildContext context, String pageName) → void
loadData(String htmlData) → void
loadUrl(String url, {Map<String, String> headers}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBack() Future<bool>
reload() → void
toString() String
A string representation of this object.
inherited
updateTitle(String title) → void
更新标题

Operators

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