Skip to content

Instantly share code, notes, and snippets.

@littleironical
Created November 27, 2020 10:57
Show Gist options
  • Save littleironical/9c2c08b975f9932b68bb892ae62c2adb to your computer and use it in GitHub Desktop.
Save littleironical/9c2c08b975f9932b68bb892ae62c2adb to your computer and use it in GitHub Desktop.
// 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