An application developed with the Flutter Framework in the Dart language, the SQLite database was used, it saves the data directly on the user's device.
This project is part of my personal portfolio, an application in which the user can make notes, edit and delete them, uses the SQLite database for data storage
1 - Register Annotations ✔️
2 - List Annotations ✔️
3 - Edit the Annotations ✔️
4 - Delete Annotations ✔️
The My Notes app uses the SQLite database that will be created as soon as the APP is started for the first time, for you to change the database name just edit the AnnotationHelper.dart file, in the method that initializes the Database:
inicializarDB() async {
final caminhoBancoDados = await getDatabasesPath();
final localBancoDados =
join(caminhoBancoDados, "banco_minhas_anotacoes.db");
var db =
await openDatabase(localBancoDados, version: 1, onCreate: _onCreate);
return db;
}
To change the name of the table, just change the file AnnotationHelper.dart and change the name to the one you prefer.
static final String nomeTabela = "anotacao";