flutter_app_icons_generator 0.2.1-dev copy "flutter_app_icons_generator: ^0.2.1-dev" to clipboard
flutter_app_icons_generator: ^0.2.1-dev copied to clipboard

A Dart CLI tool that generates platform-specific app icons and native splash screens for Flutter projects with full app flavor support.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.1-dev #

Added #

  • Flavor Dart scaffolding — generates lib/flavors.dart, lib/main_<flavor>.dart entry points, and updates main.dart to use FutureOr<void>
  • IDE launch configurations — auto-generates .vscode/launch.json with per-flavor Debug/Profile/Release entries
  • Xcode build configurations — clones existing Debug/Release/Profile configs for each flavor in both iOS and macOS project.pbxproj, enabling flutter run --flavor out of the box

Fixed #

  • macOS icons — replaced broken .icns-in-asset-catalog approach with individual PNGs at all required sizes/scales (the Apple-recommended asset catalog method)
  • macOS flavor builds — flavor xcconfigs now include AppInfo.xcconfig so PRODUCT_NAME is inherited correctly
  • Xcode pbxproj patching — removed ASSETCATALOG_COMPILER_APPICON_NAME and PRODUCT_BUNDLE_IDENTIFIER from cloned buildSettings so xcconfig values take precedence
  • Windows .rc escaping — corrected icon path to use resources\\app_icon.ico (proper C-style escaping)

0.2.0-dev #

Added #

  • App Flavors support for Android, iOS, and macOS
    • Per-flavor icon generation with separate asset directories
    • bundle_identifier field (required, unique per flavor)
    • Android: auto-configures productFlavors in build.gradle.kts / build.gradle
    • iOS: generates per-flavor xcconfig files, Xcode schemes, and AppIcon-{flavor}.appiconset
    • macOS: generates per-flavor xcconfig files, Xcode schemes, and AppIcon-{flavor}.appiconset
  • Existing asset detection with interactive [y/N] prompt before overwriting
  • --init now prompts [y/N] when config file already exists (overwrites on confirm)
  • Validation: bundle_identifier required for all flavors, must be unique
  • Validation: top-level icon required when non-flavor platforms (web, linux, windows) are configured
  • Example files for pub.dev (example/ directory)

Fixed #

  • Linux updater now correctly finds my_application.cc in linux/runner/ (not just linux/)
  • iOS updater no longer overwrites project.pbxproj icon settings when running per-flavor generation (xcconfigs handle it)

Changed #

  • FlavorConfig now requires bundleIdentifier field
  • FlavorParser validates uniqueness of bundle_identifier across flavors
  • macOS icon generator outputs to flavor-specific AppIcon-{flavor}.appiconset when flavors are active
  • CliRunner accepts optional promptOverride parameter for testability

0.1.0-dev.2 #

Added #

  • Initial project scaffolding and package structure
  • CLI entry point with --init, --verbose, and --help flags
  • Configuration file schema and YAML parser (not yet functional)
  • Core architecture: generator interfaces, platform updater contracts, image processor abstractions
  • Placeholder implementations for all 6 platforms
0
likes
160
points
118
downloads

Documentation

API reference

Publisher

verified publisherpoundingwater.com

Weekly Downloads

A Dart CLI tool that generates platform-specific app icons and native splash screens for Flutter projects with full app flavor support.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

args, image, yaml

More

Packages that depend on flutter_app_icons_generator