FlutterGlPlugin class

FlutterGl web implementation

Inheritance
  • Object
  • PlatformInterface
  • FlutterGlPlatform
  • FlutterGlPlugin

Constructors

FlutterGlPlugin({@visibleForTesting Window? debugWindow})
A constructor that allows tests to override the window object used by the plugin.

Properties

egls List<int>
getter/setter pairinherited
element → dynamic
no setterinherited
gl → dynamic
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
getter/setter pairinherited
isInitialized bool
no setterinherited
openGL ↔ dynamic
getter/setter pairinherited
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_interface(int textureId) → void
dispose no meaning in web?
override
getEgl_interface(int textureId) Future<List<int>>
getEgl no meaning in web
override
initialize_interface({Map<String, dynamic>? options}) Future<Map<String, dynamic>>
initialize plugin
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateTexture_interface(int textureId, dynamic sourceTexture) Future
updateTexture no meaning in web
override

Operators

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

Static Methods

registerWith(Registrar registrar) → void