SharedRenderTexture class

EXPERIMENTAL: This API may change or be removed in a future release.

Annotations
  • @experimental

Constructors

SharedRenderTexture({required RenderTexture texture, required double devicePixelRatio, required Color backgroundColor, required GlobalKey<State<StatefulWidget>> panelKey})

Properties

backgroundColor Color
final
devicePixelRatio double
final
hashCode int
The hash code for this object.
no setterinherited
painters List<SharedTexturePainter>
final
panelKey GlobalKey<State<StatefulWidget>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
texture RenderTexture
final

Methods

addPainter(SharedTexturePainter painter) → void
Add a painter to the shared render texture.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removePainter(SharedTexturePainter painter) → void
Remove a painter from the shared render texture.
schedulePaint() → void
Schedule a paint of the shared render texture.
toString() String
A string representation of this object.
inherited

Operators

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