What problem does it solve? Writing a new platform implementation of the sqflite SQLite plugin (a new sqflite_<platform> package or a custom DatabaseFactory) requires correctly wiring SqflitePlatform, the dartPluginClass registerWith() hook, and the com.tekartik.sqflite method channel protocol, and mistakes cause runtime failures like uninitialized databaseFactory errors. ## Core Features & Use Cases - Platform Implementation Guidance: Explains how to extend SqflitePlatform, declare dartPluginClass in pubspec.yaml, and register via registerWith() so Flutter installs the factory before main(). - Factory Registration Paths: Covers both the method channel route (initWithDatabaseFactoryMethodChannel) and Dart-side factories built with buildDatabaseFactory from sqflite_common. - Error Protocol Compliance: Documents the sqlite_error PlatformException code convention so native errors surface as DatabaseException. - Use Case: You are porting sqflite to a new OS: create an sqflite_myos package, implement the native method channel, and register it with a dartPluginClass following this guidance. ## Quick Start Ask the AI to scaffold a new sqflite platform implementation package for your target platform with the correct pubspec plugin declaration and registerWith() method.