I have a question about Sqlite encryption. As you know parts 15.1 and 15.2 pointed out two pub packages sqflite: ^2.0.2 & sqlbrite: ^2.2.0. But If I would like to encrypt the database, I can use sqflite_sqlcipher.
All problems started after that point. Because I have added sqflite_sqlcipher: ^1.1.1 instead of sqflite: ^2.0.2.
Here is my error message.
lib/data/sqlite/database_helper.dart:44:12: Error: ‘openDatabase’ is imported from both ‘package:sqflite/sqflite.dart’ and ‘package:sqflite_sqlcipher/sqflite.dart’.
If I delete import ‘package:sqlbrite/sqlbrite.dart’; from the top, openDatabase error message is fixed. However static late BriteDatabase _streamDatabase; was started to return error.
Any idea has been going out this loop ?