You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Platform instance is cached at class load, blocking desktop and web #45
This captures the platform instance once, at class load. Any later assignment to SmartTextFlutterPlatform.instance has no effect.
That defeats the override point plugin_platform_interface exists to provide, and it is why the plugin is awkward to fake in tests.
It also blocks desktop and web support. Flutter registers Dart-only platform implementations by calling a static registerWith() that assigns the instance, exactly as package_info_plus does:
Activity