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