VoltronRenderApi class

封装dart to c++的api调用,处理各种中间数据

Constructors

VoltronRenderApi()

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

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

addRoot(int domInstanceId, int rootId) → void
callNativeEvent(int renderManagerId, int rootId, int nodeId, String eventName, bool useCapture, bool useBubble, Object params) → Future
callNativeFunction(int engineId, int renderManagerId, String callId, Object params, bool keep) → Future
createDomInstance() → int
createNativeRender(double density) → int
destroyDomInstance(int domInstanceId) → void
destroyNativeRender(int nativeRenderId) → Future
init() → void
initBridge() → void
removeRoot(int domInstanceId, int rootId) → void
strByteDataToPointer(ByteData data) → Pointer<Utf16>
updateNodeSize(int renderManagerId, int rootId, int nodeId, double width, double height) → Future