TexRendererPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- TexRendererPlatform
Constructors
- TexRendererPlatform()
- Constructs a TexRendererPlatform.
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
-
cancel(
String requestId) → Future< void> -
Cancel the in-flight render request identified by
requestId
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
String text, {required String requestId, required bool displayMode, required String color, required double fontSize, required double maxWidth}) → Future< Uint8List> -
Render the specified
text
to a PNG binary suitable for display withImage.memory
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ TexRendererPlatform
-
The default instance of TexRendererPlatform to use.
getter/setter pair