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

Ref!: Move files to src folder for easier package import #36

Draft
wants to merge 10 commits into
base: pre-release
Choose a base branch
from

Conversation

Peetee06
Copy link
Contributor

@Peetee06 Peetee06 commented Nov 27, 2024

This PR moves all library files to the src folder so they are not visible to the outside. Now users can only import via import 'package:eventflux/eventflux.dart';. This reduces clutter in their imports.

Before this PR, the following was possible for users:
Screenshot 2024-11-27 at 17 13 05

Now the compiler will complain and only allow import 'package:eventflux/eventflux.dart';:
Screenshot 2024-11-27 at 17 12 44

This also gives the package maintainer more control over what they want to expose to users.

Depends on #35

@Peetee06 Peetee06 marked this pull request as draft November 27, 2024 16:15
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

Successfully merging this pull request may close these issues.

2 participants