Skip to content

Infvyr/flutter_drift_example

Repository files navigation

flutter_drift_example

A Flutter project demonstrating the use of the Drift package for local database management.

Table of Contents

Introduction

flutter_drift_example is a sample Flutter application that showcases how to use the Drift package for managing local SQLite databases in a Flutter app. This project includes examples of creating, reading, updating, and deleting data from a local database.

Features

  • Local database management using Drift
  • CRUD operations (Create, Read, Update, Delete)
  • State management with Provider
  • Error handling and validation
  • Flutter native splash, app icons

Installation

To get started with this project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Infvyr/flutter_drift_example.git
    cd flutter_drift_example
  2. Install dependencies:

    flutter pub get
  3. Run the app:

    flutter run

Usage

This project includes several screens and functionalities:

  • Employee List Screen: Displays a list of employees stored in the local database.
  • Add Employee Screen: Allows users to add a new employee to the database.
  • Edit Employee Screen: Allows users to edit an existing employee's details.
  • Delete Employee: Swipe to delete an employee from the list.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published