instance property
TextureRgbaRendererPlatform
get
instance
The default instance of TextureRgbaRendererPlatform to use.
Defaults to MethodChannelTextureRgbaRenderer.
Implementation
static TextureRgbaRendererPlatform get instance => _instance;
set
instance
(TextureRgbaRendererPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends TextureRgbaRendererPlatform when they register themselves.
Implementation
static set instance(TextureRgbaRendererPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}