Skip to content

Drift and GetX #3036

Answered by simolus3
AMT-Cheif asked this question in Q&A
Discussion options

You must be logged in to vote

It's impossible to see what kind of class Get is from the dartdoc of that package, but if it's a global dependency manager then you could do Get.put(AppDb()) in main and then use the database with Get.find<AppDb>() where you are currently using provider.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AMT-Cheif
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