instance property

OverlayWindowPlatform get instance

The default instance of OverlaywindowPlatform to use.

Defaults to MethodChannelOverlaywindow.

Implementation

static OverlayWindowPlatform get instance => _instance;
set instance (OverlayWindowPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends OverlaywindowPlatform when they register themselves.

Implementation

static set instance(OverlayWindowPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}