Loading repository dataβ¦
Loading repository dataβ¦
Ganeshshinde-2003 / repository
π Hive Notes App is a simple Flutter application that allows users to create, edit, and delete notes with ease. πΎ Store your notes locally using the powerful Hive database.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Hive Notes App is a simple note-taking application built using Flutter framework and the Hive database. It allows users to create, edit, and delete notes, which are stored locally using Hive.
Here are some screenshots from the Hive Notes App:



To get started with the Hive Notes App, follow these instructions:
pubspec.yaml file.Clone the repository:
https://github.com/Ganeshshinde-2003/Flutter-Notes-Taking-App-Using-Hive-DataBase.git
Install dependencies:
flutter pub get
Run the app:
flutter run
Hive is a lightweight, yet powerful NoSQL database for Flutter and Dart. It offers fast and efficient storage of structured data by using key-value pairs and provides excellent performance, even with large datasets.
In this project, Hive is used to store and retrieve the notes. Here's how it works:
Data Model π¦: The NotesModel class represents a single note and defines its properties (title and description). It extends the HiveObject class to enable persistence.
Hive Box ποΈ: Hive organizes data into boxes. The Boxes class provides a static method getData() to get the Hive box instance for storing the notes. The box is obtained using Hive.box('notes'), where 'notes' is the box name.
Creating and Saving Notes βοΈ: When a new note is created, an instance of NotesModel is created with the provided title and description. The note is then added to the Hive box using box.add(data). The changes are saved using data.save().
Retrieving and Displaying Notes π: The ValueListenableBuilder widget is used to listen to changes in the Hive box and rebuild the UI whenever the