Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] More Flutter Helpers #241

Open
2 tasks
dickermoshe opened this issue Jun 19, 2024 · 1 comment
Open
2 tasks

[feat] More Flutter Helpers #241

dickermoshe opened this issue Jun 19, 2024 · 1 comment

Comments

@dickermoshe
Copy link

  • A single function for opening the database
  • ... More as we think of what FlutterDevs could use

@simolus3 What are your thoughts on adding some Flutter specific code to this package?

@simolus3
Copy link
Owner

Back when drift was called moor, there was a moor_flutter package. It only contained a sqflite-based executor that would now live in drift_sqflite, but I agree that having a drift_flutter package which contains the _openConnection() method as a public API (so that we don't have to suggest that monstrous snippet on the getting started docs) is definitely nice to have.
Core package:drift can't depend on Flutter which is the reason for the current split, but having a dedicated Flutter package implementing best practices is a good call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants