instance property
ExpansionStepperPlatform
get
instance
The default instance of ExpansionStepperPlatform to use.
Defaults to MethodChannelExpansionStepper.
Implementation
static ExpansionStepperPlatform get instance => _instance;
set
instance
(ExpansionStepperPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends ExpansionStepperPlatform when they register themselves.
Implementation
static set instance(ExpansionStepperPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}