Skip to content

Commit

Permalink
Add monochrome icon. closes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-jiao committed Jul 20, 2024
1 parent 0d464b7 commit 8e6b319
Show file tree
Hide file tree
Showing 9 changed files with 178 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
Binary file added assets/monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
172 changes: 172 additions & 0 deletions assets/monochrome.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ dev_dependencies:
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
change_app_package_name: ^1.3.0
flutter_launcher_icons: ^0.13.1
flutter_launcher_icons:
git:
url: https://github.com/fluttercommunity/flutter_launcher_icons
ref: master
flutter_lints: ^4.0.0
xml: ^6.5.0

Expand All @@ -80,6 +83,7 @@ flutter_icons:
image_path: "assets/icon.png"
adaptive_icon_background: "assets/back.png"
adaptive_icon_foreground: "assets/android-fore.png"
adaptive_icon_monochrome: "assets/monochrome.png"
min_sdk_android: 21 # android min sdk min:16, default 21
windows:
generate: true
Expand Down

0 comments on commit 8e6b319

Please sign in to comment.