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