From d49f6bc4dd5537642ef0c4d6b32d45865b185f70 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Thu, 14 May 2026 16:07:22 -0400 Subject: [PATCH] Add Hash Wallet app icon master + enable flutter_launcher_icons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New assets/images/app_logo.png — 1024x1024 master with white # on green (#1a5c38) background. Source SVG checked in alongside as hash_wallet_app_icon_source.svg. - Enable flutter_launcher_icons dependency (was commented out) and rename the legacy 'flutter_icons' config key to the modern 'flutter_launcher_icons' key. Added linux + windows generation; remove_alpha_ios per Apple requirement that App Store icons not have alpha. After pub get, run 'flutter pub run flutter_launcher_icons' to populate the per-platform icon variants (iOS appiconset, Android mipmaps, macOS appiconset, etc.). Splash / launch images are still Cake's defaults; that's a follow-up. --- assets/images/hash_wallet_app_icon_source.svg | 18 ++++++++++++++++++ pubspec_base.yaml | 13 ++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 assets/images/hash_wallet_app_icon_source.svg diff --git a/assets/images/hash_wallet_app_icon_source.svg b/assets/images/hash_wallet_app_icon_source.svg new file mode 100644 index 000000000..7305c1b9d --- /dev/null +++ b/assets/images/hash_wallet_app_icon_source.svg @@ -0,0 +1,18 @@ + + + Hash Wallet app icon + + + + # + diff --git a/pubspec_base.yaml b/pubspec_base.yaml index 99955ad49..f6841b6a3 100644 --- a/pubspec_base.yaml +++ b/pubspec_base.yaml @@ -176,8 +176,7 @@ dev_dependencies: mobx_codegen: ^2.1.1 build_resolvers: ^2.4.4 hive_generator: ^2.0.1 - # flutter_launcher_icons: ^0.11.0 - # check flutter_launcher_icons for usage + flutter_launcher_icons: ^0.13.1 pedantic: ^1.8.0 # replace https://github.com/dart-lang/lints#migrating-from-packagepedantic translator: @@ -228,13 +227,21 @@ dependency_overrides: flutter_rust_bridge: 2.11.1 flutter_secure_storage_windows: 3.1.2 -flutter_icons: +flutter_launcher_icons: image_path: "assets/images/app_logo.png" android: true ios: true + remove_alpha_ios: true macos: generate: true image_path: "assets/images/app_logo.png" + linux: + generate: true + image_path: "assets/images/app_logo.png" + windows: + generate: true + image_path: "assets/images/app_logo.png" + icon_size: 256 flutter: uses-material-design: true