RiveNativeRenderBox constructor
RiveNativeRenderBox(
- 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);
};
}