This has only been tested with sqflite version 1.1.7+3 on Linux.
This Go package implements the host-side of the Flutter sqflite plugin as well as SqlCipher support using https://github.com/xeodou/go-sqlcipher
This go-flutter plugin is a wrapper of the basic sqlite plugin https://github.com/nealwon/go-flutter-plugin-sqlite
The plugin is still under development! Using in prod is not recommended!
1. Install sqflite with SqlCipher support https://github.com/davidmartos96/sqflite_sqlcipher
Import as:
import "github.com/davidmartos96/go-flutter-plugin-sqlcipher"
Then add the following option to your go-flutter application options:
flutter.AddPlugin(sqflite.NewSqflitePlugin("myOrganizationOrUsername","myApplicationName")),
Change the values of the Vendor and Application names to a custom and unique string, so it doesn't conflict with other organizations.