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