mirror of https://github.com/AMT-Cheif/drift.git
docs: add one-liner dependency addition instructions in the documentation (#2831)
Include one-liner dependency addition instructions in the documentation
This commit is contained in:
parent
f25eaf10f2
commit
b214f2c661
|
@ -45,6 +45,12 @@ dev_dependencies:
|
|||
build_runner: ^{{ versions.build_runner }}
|
||||
```
|
||||
|
||||
Alternatively, you can achieve the same result using the following command:
|
||||
|
||||
```
|
||||
dart pub add drift sqlite3_flutter_libs path_provider path dev:drift_dev dev:build_runner
|
||||
```
|
||||
|
||||
If you're wondering why so many packages are necessary, here's a quick overview over what each package does:
|
||||
|
||||
- `drift`: This is the core package defining the APIs you use to access drift databases.
|
||||
|
|
Loading…
Reference in New Issue