flutter_launcher_icons icon indicating copy to clipboard operation
flutter_launcher_icons copied to clipboard

[BUG] Web icons generation using package source does not work

Open masus04 opened this issue 1 year ago • 0 comments

:information_source: Info

Version: 0.10.0

:scroll: Pubspec.yaml

flutter_icons: image_path_android: "packages/flutter_utils/assets/launcher_icon_android.png" adaptive_icon_foreground: "packages/flutter_utils/assets/launcher_icon_android.png" adaptive_icon_background: "#ffffff" image_path_ios: "packages/flutter_utils/assets/launcher_icon_ios.jpg" web: generate: true image_path: "packages/flutter_utils/assets/mtc_launcher_icon.png"

:speech_balloon: Description

While for android I was able to specify an asset from an imported package, the same is not possible for the web platform.

When generating the icons using the pubspec.yaml above I receive the following output:

  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.10.0)                               
  ════════════════════════════════════════════
  
Creating Icons for Web...
⚠️FileSystemException: Cannot open file, path = '/packages/flutter_utils/assets/mtc_launcher_icon.png' (OS Error: No such file or directory, errno = 2)
Creating Icons for Windows...
⚠️Windows config is not provided or windows.generate is false. Skipped...
⚠️Requirments failed for platform Windows. Skipped

✓ Successfully generated launcher icons

masus04 avatar Oct 11 '22 14:10 masus04