I am developing a flutter package containing some assets files. I mentioned required assets in pubsepc.yaml as usual like this
assets:
- assets/abc.xyz
and uploaded the package to https://pub.dartlang.org/.
After that I created a flutter Application and imported my developed package in pubspec.yaml
like...
dependencies:
flutter:
sdk: flutter
my_developed_package: ^0.0.1
Now everything is working fine except my assets are absent.
I put some assets in my Application without mentioning in pubsepc.yaml
and its working. I am unable to understand, how do I add these assets to my package so that they load automatically?