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