instance property

AnimatedItemPlatform get instance

The default instance of AnimatedItemPlatform to use.

Defaults to MethodChannelAnimatedItem.

Implementation

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

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

Implementation

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