Created
November 27, 2020 10:57
-
-
Save littleironical/9c2c08b975f9932b68bb892ae62c2adb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// First add a custom icon in assets/icon folder | |
- assets/icon/icon.png | |
// In pubspec.yaml, add dependency | |
flutter_launcher_icons: ^0.8.1 | |
// Then write these lines below them from extreme left | |
flutter_icons: | |
image_path: "assets/icon/icon.png" | |
android: true | |
ios: true | |
// Now, in terminal, write a few commands | |
> flutter pub get | |
> flutter pub run flutter_launcher_icons:main | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment