easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

[WARNING] Don't import implementation files from another package on `package:easy_localization/src/public_ext.dart` import

Open koddr opened this issue 3 years ago • 2 comments

Hi,

After installing your package (v3.0.0), VS Code always shows me this warning message:

Screenshot 2021-11-23 at 07 27 26

But I've not imports in other files with package:easy_localization/src/public_ext.dart, only in this…

And on VS Code suggestion:

Screenshot 2021-11-23 at 07 55 49

How to solve this? Please.

koddr avatar Nov 23 '21 04:11 koddr

For me import 'package:easy_localization/easy_localization.dart'; seems to work without the error.

I'm using Android Studio (I love vscode too!) and it also sometimes gets confused with importing files from the wrong place as well, and not just with this library.

akiller avatar Nov 25 '21 13:11 akiller

If use import 'package:easy_localization/easy_localization.dart'; the issue is resolved? If yes, please close this issue

mdeandrea-mrmilu avatar May 10 '22 12:05 mdeandrea-mrmilu

Closed since most likely resolved

bw-flagship avatar May 10 '23 06:05 bw-flagship