LinusU / LinusU/flutter_web_auth
Lint Error implementation_imports on generated_plugin_registrant.dart
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 213
- Forks
- 261
- PR merge metrics
- No merged PRs in 30d
Description
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](https://dart-lang.github.io/linter/lints/implementation_imports.html)
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with generated_plugin_registrant.dart and package:flutter_web_auth/flutter_web_auth.dart, then inspect how FlutterWebAuthPlugin is exposed. Export FlutterWebAuthPlugin from the package entry point so the generated import no longer triggers implementation_imports, and verify the lint passes without the temporary analysis_options.yaml exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100