instance property

The default instance of DotMatrixWidgetPlatform to use.

Defaults to MethodChannelDotMatrixWidget.

Implementation

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

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

Implementation

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