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