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

Lint Error implementation_imports on generated_plugin_registrant.dart #116

Open
abegehr opened this issue May 7, 2022 · 0 comments
Open

Comments

@abegehr
Copy link

abegehr commented May 7, 2022

I'm getting a linting issue on the auto generated file generated_plugin_registrant.dart for import 'package:flutter_web_auth/src/flutter_web_auth_web.dart';:

Don't import implementation files from another package.dart implementation_imports

To solve lints, I'm temporarily ignoring the implementation_imports in analysis_options.yaml.
The fix for this is exporting FlutterWebAuthPlugin from package:flutter_web_auth/flutter_web_auth.dart instead of needing to import implementation files.

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

1 participant