A simple Flutter note-taking app with local SQLite storage. Create, Edit, and delete your notes easily with a clean UI.
A simple and clean note-taking application built with Flutter and Dart. This app allows users to add, update, and delete personal notes. The data is stored locally using SQLite.
- Add new notes with title and content
- Edit existing notes
- Delete unwanted notes
- Simple and minimal user interface
- Local data storage using SQLite
- Flutter (UI Toolkit)
- Dart (Programming Language)
- SQLite (Local Database using sqflite package)
The main Dart files used in this project:
The entry point of the app. It initializes the main UI and routes to the NotePage.
This is the main screen of the app that displays the list of notes. It handles:
- Fetching notes from the database
- Displaying them in a
ListView - Adding or updating notes through a dialog
- Deleting notes with a delete button
A simple Note model class that represents a note item with an optional id, a title, and content. It also includes:
toMap()method for converting the object to a Map for SQLitefromMap()factory constructor for reconstructing a Note from a Map
Handles all database operations including:
- Initializing and creating the database
- Inserting new notes
- Reading all notes
- Updating existing notes
- Deleting notes
✅ Important:
These Dart files are part of a complete Flutter project. Make sure to place them in the proper directories within your Flutter project (e.g., inside lib/).
Add the following dependency to your pubspec.yaml:
dependencies:
flutter:
sdk: flutter
sqflite: ^2.0.0+3
path: ^1.8.0

