# Getting Started in Flutter

Nitrite is a pure Dart database. It does not depend on any native library. So it can be used in any platform where Dart is supported. It is a server-less embedded database ideal for desktop, mobile, or web applications. It is written in pure Dart and runs in Flutter, Dart VM, and the browser.

# Add dependency

To use Nitrite in you project, add the following package to your package:

dart pub add nitrite

To add the nitrite code generator to your project:

dart pub add --dev build_runner
dart pub add --dev nitrite_generator

More details about the code generator can be found here.

To use the hive storage adapter to your project add the below package:

dart pub add nitrite_hive_adapter

More details about the hive adapter can be found here.