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