RiveNativeRenderBox constructor

RiveNativeRenderBox(
  1. RenderTexture _renderTexture
)

Implementation

RiveNativeRenderBox(this._renderTexture) {
  _renderTexture.onTextureChanged = () {
    // Paint immediately after creating the texture ensures
    // that the texture is visually updated.
    paintTexture(0, forceShouldAdvance: true);
  };
}