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