fluttercommunity/flutter_launcher_icons

iOS transparent borders issue

开放

#62 创建于 2018年11月14日

 (5 条评论) (3 个反应) (0 位负责人)Dart (423 个派生)auto 404
help wantedneeds investigatingplatform:ios

仓库指标

星标
 (2,118 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

I've got my pubspec.yml setup as follows:

...
dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_launcher_icons: "^0.6.1"

flutter_icons:
  image_path: "assets/logo.png" 
  android: true
  ios: true
  adaptive_icon_background: "#614ec6"

I run the command:

$ flutter packages pub run flutter_launcher_icons:main
Android minSdkVersion = 16
Creating icons Android
Overwriting default Android launcher icon with new icon
Overwriting default iOS launcher icon with new icon

The icon when it installs onto the iPhone however... well.. it has a black border.

How do I fix that from happening? I used the studio creator to generate it.

This is the original image: ic_launcher

贡献者指南