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

Home Page:https://pub.dev/packages/flutter_launcher_icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MacOS icons not rounded?

Wizzel1 opened this issue · comments

ℹ️ Info

Version: v0.12.0

💬 Description

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

📜 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/

@Wizzel1 did you found a solution for this?

@KristijanMitrik I have added the radius in my design file

commented

@KristijanMitrik I have added the radius in my design file

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

Would be realy nice to add this to this package

still no respond from the developer, sad

Sad too

commented

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

I am also having the same issue

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