> For the complete documentation index, see [llms.txt](https://asamarsal.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://asamarsal.gitbook.io/notes/personal-documentation/mobile/flutter/mengganti-icon-launcher.md).

# Mengganti Icon Launcher

Buatlah folder icons di dalam folder assets > kemudian copas logo.png ke dalam folder icons

<div align="left"><figure><img src="/files/cAEVjBbqo9h3JWmJckhS" alt=""><figcaption><p>folder icons</p></figcaption></figure></div>

Untuk mengganti launcher icon, gunakan library icons\_launcher

{% embed url="<https://pub.dev/packages/flutter_launcher_icons>" %}
pub.dev
{% endembed %}

Cara Instalasi :&#x20;

1. Letakkan dependencies di pubspec.yaml

```
dependencies:
  icons_launcher: ^2.1.4

flutter_launcher_icons:
  android: true
  ios: true
  image_path: "assets/icons/namaimage.png"
  min_sdk_android: 21
```

2. Buka terminal dan ketikkan code ini

```
flutter pub get
flutter pub run flutter_launcher_icons
```
