Reputation: 1272
I'm using this package in my pubspec.yaml
dependencies:
country_code_picker: ^1.4.0
It is the repo: https://github.com/imtoori/CountryCodePicker
I would like to use the images from flags/
directory
What do I need to do to use them from Image.asset() in flutter ?
Upvotes: 1
Views: 162
Reputation: 1416
You should specify the package:
Image.asset(
'flags/ad.png',
package: 'country_code_picker',
)
Upvotes: 1