Skip to content

arminmehraeen/Flutter-Hive

Repository files navigation

Flutter Hive CRUD Project

This Flutter project demonstrates how to integrate Hive as a local database for storing user information and implementing CRUD (Create, Read, Update, Delete) operations.

Introduction

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.

Features

  • 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.

Installation

To get started, make sure you have Flutter installed on your machine. Then, clone this repository and run flutter pub get to install dependencies.

Usage

Follow these steps to use the application:

  1. 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.
  2. Viewing Users: Users will be listed on the home screen. Tap on any user to view their details.
  3. 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.
  4. 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.

Contributing

Contributions are welcome! If you have any suggestions, bug fixes, or improvements, please feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License.

About

An example of a hive database project in flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published