A clean and simple Notes App built using Flutter + Riverpod + MVVM + Shared Preferences.
- Add new notes
- Edit existing notes
- Delete notes
- Search notes
- Local storage using shared_preferences
- Clean MVVM architecture
Clone the repository:
git clone <your-repo-url>cd quick_notesflutter pub getflutter runFollow the official Flutter installation guide:
flutter create quick_notesSubstitute the default lib directory with the provided tutorial codebase.
lib/
├── models/
│ └── note.dart
├── services/
│ └── storage_service.dart
├── view/
│ ├── home_screen.dart
│ └── add_edit_screen.dart
├── view_model/
│ └── notes_view_model.dart
└── main.dart
dependencies:
flutter:
sdk: flutter
flutter_riverpod: ^2.4.0
shared_preferences: ^2.2.2
Run:
flutter pub get
Model → Note data class
- ViewModel → StateNotifier managing CRUD + search
- View → UI screens listening to provider states
- Service → Handles shared_preferences read/write
Notes are saved as a JSON encoded list:
[
{
"id": "123",
"title": "Sample Note",
"content": "Hello world",
"createdAt": "2025-01-20T10:00:00Z"
}
]
flutter runQuick.Notes.mp4
✨ I’m Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects. You can learn more about me and my work at sufyanism.com or connect with me on Linkedin
🚀 Explore courses and resources in coding, tech, and development at zeba.academy and code.zeba.academy. Empower yourself with practical skills through curated tutorials, real-world projects, and hands-on experience. Level up your tech game today! 💻✨
Zeba Academy is a learning platform dedicated to coding, technology, and development.
➡ Visit our main site: zeba.academy
➡ Explore hands-on courses and resources at: code.zeba.academy
➡ Check out our YouTube for more tutorials: zeba.academy
➡ Follow us on Instagram: zeba.academy
Thank you for visiting!