instance property
PointerInterceptorPlatform
get
instance
The default instance of PointerInterceptorPlatform to use.
Defaults to DefaultPointerInterceptor, which does not do anything
Implementation
static PointerInterceptorPlatform get instance => _instance;
set
instance
(PointerInterceptorPlatform? instance)
Implementation
static set instance(PointerInterceptorPlatform? instance) {
if (instance == null) {
throw AssertionError(
'Platform interfaces can only be set to a non-null instance');
}
PlatformInterface.verify(instance, _token);
_instance = instance;
}