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