This Flutter project demonstrates how to integrate Hive as a local database for storing user information and implementing CRUD (Create, Read, Update, Delete) operations.
This project showcases how to build a Flutter application with local database capabilities using Hive. It serves as a practical example for developers looking to implement CRUD functionalities in their Flutter applications.
- CRUD Operations: Create, Read, Update, and Delete user records.
- Local Database: Utilizes Hive for storing user data locally on the device.
- Simple UI: Provides a minimalistic user interface for interacting with user data.
To get started, make sure you have Flutter installed on your machine. Then, clone this repository and run flutter pub get
to install dependencies.
Follow these steps to use the application:
- Adding a User: Tap on the "Add User" button and provide the required information (e.g., name, email, etc.). Then tap on the "Save" button.
- Viewing Users: Users will be listed on the home screen. Tap on any user to view their details.
- Updating a User: To update a user's information, tap on the user from the home screen, make the necessary changes, and tap on the "Update" button.
- Deleting a User: Swipe left on a user from the home screen, and a delete button will appear. Tap on it to delete the user.
Contributions are welcome! If you have any suggestions, bug fixes, or improvements, please feel free to open an issue or create a pull request.
This project is licensed under the MIT License.