Flutter :How to include images in your Flutter app ||2020 ||tricky helpers

Flutter :How to include images in your Flutter app 





How to include images in your Flutter app
  1. Create an assets/images folderassets/images folder
  2. Add your image to the new folder.
  3. Register the assets folder in pubspec. yaml. ...
  4. Use the image in code. Get the asset in an Image widget with Image.
  5. Restart your app. When making changes.

Post a Comment

0 Comments