instance property

The default instance of AdaptiveDatePickerPlatform to use.

Defaults to MethodChannelAdaptiveDatePicker.

Implementation

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

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

Implementation

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