instance property

SfSymbolsPlatform get instance

The default instance of SfSymbolsPlatform to use.

Defaults to MethodChannelSfSymbols.

Implementation

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

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

Implementation

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