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