FlutterGlPlugin class

FlutterGlPlugin

flutterGlPlugin = FlutterGlPlugin(); Map<String, dynamic> _options = { "width": width, "height": height, "antialias": true, "alpha": false }; await flutterGlPlugin.initialize(options: _options);

Inheritance
  • Object
  • PlatformInterface
  • FlutterGlPlatform
  • FlutterGlPlugin

Constructors

FlutterGlPlugin()

Properties

egls List<int>
getter/setter pairoverride
element → dynamic
no setteroverride
gl → dynamic
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
getter/setter pairinherited
isInitialized bool
no setterinherited
openGL ↔ dynamic
getter/setter pairoverride
platformVersion Future<String?>
Launches the given url. Completes to true if the launch was successful.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textureId int?
getter/setter pairinherited

Methods

dispose() → dynamic
dispose_interface(int textureId) → void
inherited
getEgl(int textureId) Future<List<int>>
get created opengl context from native
getEgl_interface(int textureId) Future<List<int>>
inherited
initialize({Map<String, dynamic>? options}) Future<Map<String, dynamic>>
initialize_interface({Map<String, dynamic>? options}) Future<Map<String, dynamic>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareContext() → dynamic
set opengl context for ffi thread
toString() String
A string representation of this object.
inherited
updateTexture(dynamic sourceTexture) Future
update texture to flutter
updateTexture_interface(int textureId, dynamic sourceTexture) Future
inherited

Operators

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