Skip to content

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