You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sounds like out of the scope of the plugin. You can put your desired annotations wherever you want but the generator will consider too much if it has to implement such a feature.
Is there an existing issue for this?
Describe the problem
Hello!
I created the two repos, first is UI-Kit, created assets using flutter_gen, exported assets.gen.dart file
And added to pubspec.yaml UI-Kit repo,
And I have a problem, that I have local assets in project and exported assets.gen.dart
And they both named "Assets", and Dart analyzer warns that we are importing assets.gen.dart from pubspec dependency and local assets.gen.dart
of course we have a solution with rename the local/remote repo assets.gen.dart, and rename the all occurences in project
But I wanna to do it, part by part
Describe the solution
So, I wanna recommend a solution to keep first version of assets.gen.dart, and mark it @deprecated('Use new assets.gen.dart instead')
and create the second, with new class name, which will include new assets
Additional context
Like adding new fields in pubspec.yaml for flutter_gen block
Code of Conduct
The text was updated successfully, but these errors were encountered: