how to add Sqflite dependency in flutter?
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.0
sqflite: any
english_words: "^3.1.0"
This is the correct way of doing it. Try running packages get
(again).
You can specify versions with either the exact version sqflite: ^0.8.9
, a range sqflite: >=0.8.0 <0.9.9
or just sqflite: any
, which will always get you the latest version.
There is an in-depth guide on this topic available.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With