Flutter. Adding assets and changing the application icon

Image for post
Image for post

Hide “Debug”

In Flutter Inspector menu -> More Actions -> Hide Debug Mode Banner

Image for post
Image for post

Adding Assets

To add assets to your application you will need to register it in /pubspec.yaml file:

Image for post
Image for post
flutter:
assets:
- images/
- images/LOK-SR.png
Image for post
Image for post
flutter:
assets:
- images/

Changing icon of your application

Let’s download some png image here:

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Customization of Android app icon

Create a new “Image Asset” in /android/app/src/main/res folder:

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store