ThermionFlutterPlugin class
Handles all platform-specific initialization to create a backing rendering surface in a Flutter application and lifecycle listeners to pause rendering when the app is inactive or in the background. Call createViewer to create an instance of ThermionViewer. This is a lightweight singleton that
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
-
createTexture(
int width, int height, int offsetLeft, int offsetRight) → Future< ThermionFlutterTexture?> -
createViewer(
{String? uberArchivePath}) → Future< ThermionViewer> -
destroyTexture(
ThermionFlutterTexture texture) → Future -
resizeTexture(
ThermionFlutterTexture texture, int width, int height, int offsetLeft, int offsetRight) → Future< ThermionFlutterTexture?>