Skip to content

Is the documentation setup example wrong? #3401

Answered by simolus3
Correct-Syntax asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for reaching out, and good catch! The docs are always written with the latest drift versions in mind (and they should suggest installing the latest drift version too). The setup page failed to do that for drift_flutter because we suggest drift_flutter: ^0.1.0 when we should be suggesting drift_flutter: ^0.2.4...

The snippet works correctly with the latest drift_flutter version, I'll get the suggested dependencies fixed ASAP.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Correct-Syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants