fluttercommunity / flutter_launcher_icons

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94
https://pub.dev/packages/flutter_launcher_icons
MIT License
1.99k stars 396 forks source link

MacOS icons not rounded? #463

Open Wizzel1 opened 1 year ago

Wizzel1 commented 1 year ago

:information_source: Info

Version: v0.12.0

:speech_balloon: Description

Are we supposed to use an image that already has a border-radius in order to generate a rounded app-icon for MacOS?

:scroll: Pubspec.yaml

name: test_app
description: A new Flutter project.

version: 1.0.0+1

environment:
  sdk: '>=2.18.5 <3.0.0'

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_launcher_icons: ^0.12.0

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon/icon_bg.png"
  min_sdk_android: 21 # android min sdk min:16, default 21
  web:
    generate: true
    background_color: "#hexcode"
    theme_color: "#hexcode"
  windows:
    generate: true
    icon_size: 48 # min:48, max:256, default: 48
  macos:
    generate: true

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  # To add assets to your application, add an assets section, like this:
  assets:
    - google_fonts/
    - assets/
KristijanMitrik commented 1 year ago

@Wizzel1 did you found a solution for this?

Wizzel1 commented 1 year ago

@KristijanMitrik I have added the radius in my design file

giiyms commented 1 year ago

@KristijanMitrik I have added the radius in my design file

is this a setting for this package or did you manually round your image?

felixkriechbaum commented 1 year ago

Would be realy nice to add this to this package

felixkriechbaum commented 1 year ago

still no respond from the developer, sad

bigzhu commented 1 year ago

Sad too

HaloWang commented 11 months ago

I don't know how to use this figma. But I help this helps.

Figma: https://www.figma.com/community/file/1040708197994685442/official-macos-app-icon-template

And also this:

https://github.com/rikumi/iconsur

awpehl commented 8 months ago

Is there an update on this issue? Would be really happy if this could get fixed asap! :)

muratcankaracabey commented 7 months ago

I am also having the same issue

Wes1324 commented 6 months ago

I noticed the same issue. In the end, I used https://www.candyicons.com/free-tools/app-icon-assets-generator and just selected the 'macOS' option. This generator automatically rounds the image edges and adds a slight drop shadow