instance property

The default instance of QuickTransitionPlatform to use.

Defaults to MethodChannelQuickTransition.

Implementation

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

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

Implementation

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