flutter-app-icons

A setup guide for changing Flutter app launcher icons and native splash screens, the screen shown while an app starts.

In plain words
What is it for?
It explains how to configure and run flutter_launcher_icons for app icons and flutter_native_splash for splash screens, including creating and removing splash assets.
Why use it?
It replaces Flutter’s default startup visuals and helps generate the platform-specific files needed for Android and other supported platforms.

Skill for Claude CodeCodex

Part of the nylo-claude-code plugin — 21 skills, 3 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nylo-core/claude-code/flutter-app-icons
Any agent
npx skills add nylo-core/claude-code --skill flutter-app-icons
Clone the repo
git clone --depth 1 https://github.com/nylo-core/claude-code

Made for: Claude Code, Codex.

Or install nylo-claude-code, the plugin that ships this one along with the rest of its 21 skills, 3 agents.

Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,328 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00038 $0.03328
Opus 5 $0.00019 $0.01664
Sonnet 5 $0.00008 $0.00666
Haiku 4.5 $0.00004 $0.00333

Measured 2d ago against content hash 463536f306c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flutter-app-icons scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/flutter-app-icons/SKILL.md · 423 lines

How it starts

The opening of the file, as written. The whole thing — 423 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flutter App Icons and Splash Screens

Overview

App launcher icons and splash screens are the first visual impressions of your app. Flutter uses flutter_launcher_icons for generating platform-specific icon assets and flutter_native_splash for native splash screens. Both are configured in pubspec.yaml and generate platform files via CLI commands.

When to Use

  • User wants to set or change the app launcher icon
  • User wants to add or customize the splash screen
  • User needs adaptive icons for Android
  • App is being prepared for store submission and needs proper icons
  • User is seeing the default Flutter icon and wants to replace it
  • NOT for in-app icons or icon fonts (use Icons class or custom icon packages instead)

Quick Reference

Task Package Command
Generate launcher icons flutter_launcher_icons dart run flutter_launcher_icons
Generate splash screen flutter_native_splash dart run flutter_native_splash:create
Remove splash screen flutter_native_splash dart run flutter_native_splash:remove

Part 1: Launcher Icons (flutter_launcher_icons)

Setup

Add to pubspec.yaml:

dev_dependencies:
  flutter_launcher_icons: ^0.14.0

Source Image Requirements

  • Format: PNG (recommended), also supports JPEG
  • Minimum size: 1024x1024 pixels
  • Shape: Square (1:1 aspect ratio)
  • No transparency for iOS: iOS does not support transparent icons; use a solid background
  • Transparency OK for Android: Android adaptive icons can use transparency in the foreground layer

Basic Configuration

Add to pubspec.yaml (at root level, not inside dependencies):

flutter_launcher_icons:
  android: true
  ios: true
  image_path: "assets/icon/app_icon.png"
  min_sdk_android: 21

Full Configuration with Adaptive Icons

flutter_launcher_icons:
  # Enable platforms
  android: true
  ios: true

  # Default icon (used as fallback)
  image_path: "assets/icon/app_icon.png"

  # iOS-specific (no transparency, no alpha channel)
  image_path_ios: "assets/icon/app_icon_ios.png"

  # Android adaptive icon (Android 8.0+ / API 26+)
  adaptive_icon_foreground: "assets/icon/app_icon_foreground.png"
  adaptive_icon_background: "#FFFFFF"
  # OR use an image for background:
  # adaptive_icon_background: "assets/icon/app_icon_background.png"

  # Android monochrome icon (Android 13+ themed icons)
  adaptive_icon_monochrome: "assets/icon/app_icon_monochrome.png"

  # Minimum Android SDK (affects which icon types are generated)
  min_sdk_android: 21

  # Remove alpha channel for iOS (required)
  remove_alpha_ios: true

  # Web favicon
  web:
    generate: true
    image_path: "assets/icon/app_icon.png"
    background_color: "#FFFFFF"
    theme_color: "#000000"

  # macOS
  macos:
    generate: true
    image_path: "assets/icon/app_icon.png"

  # Windows
  windows:
    generate: true
    image_path: "assets/icon/app_icon.png"
    icon_size: 48

Read the full file on GitHub · 423 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 423 lines · 38 tokens per session scan A 463536f306c2

Subscribe to this mod's changes

flutter-app-icons is a skill published in the GitHub repository nylo-core/claude-code (4 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 3,328 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories