Flutter#
insert image#
- first make a directory in your project as
images - use AssetImage('image path')
- update
pubspec.yamlfile
assets:
- images/dog.jpg
- all set

Assert#
Assert(resources)- An asset is a file, which is bundled and deployed with the app and is accessible at runtime.
- It can be static data, configuration files, icons, and images
- flutter support
JPEG, WebP, PNG, GIF, animated WebP/GIF, BMP, WBMP