Added launcher Name and Icon
This commit is contained in:
15
pubspec.yaml
15
pubspec.yaml
@ -56,6 +56,7 @@ dependencies:
|
||||
git:
|
||||
url: https://github.com/provokateurin/nextcloud-neon
|
||||
path: packages/nextcloud
|
||||
flutter_launcher_icons: ^0.11.0
|
||||
|
||||
dependency_overrides:
|
||||
xml: ^6.2.2
|
||||
@ -93,6 +94,7 @@ flutter:
|
||||
assets:
|
||||
- assets/ca/
|
||||
- assets/background/
|
||||
- assets/logo/
|
||||
|
||||
# An image asset can refer to one or more resolution-specific "variants", see
|
||||
# https://flutter.dev/assets-and-images/#resolution-aware
|
||||
@ -140,7 +142,7 @@ flutter_native_splash:
|
||||
|
||||
# The image parameter allows you to specify an image used in the splash screen. It must be a
|
||||
# png file and should be sized for 4x pixel density.
|
||||
image: assets/logo/icon.png
|
||||
image: assets/logo/logo.png
|
||||
|
||||
# The branding property allows you to specify an image used as branding in the splash screen.
|
||||
# It must be a png file. It is supported for Android, iOS and the Web. For Android 12,
|
||||
@ -251,4 +253,13 @@ flutter_native_splash:
|
||||
# do not remove any spaces:
|
||||
#info_plist_files:
|
||||
# - 'ios/Runner/Info-Debug.plist'
|
||||
# - 'ios/Runner/Info-Release.plist'
|
||||
# - 'ios/Runner/Info-Release.plist'
|
||||
|
||||
flutter_icons:
|
||||
android: true
|
||||
ios: true
|
||||
remove_alpha_ios: true
|
||||
image_path: "assets/logo/icon/appIcon.png"
|
||||
adaptive_icon_background: "assets/logo/icon/adaptive_back.png" # only available for Android 8.0 devices and above
|
||||
adaptive_icon_foreground: "assets/logo/icon/adaptive_fore.png" # only available for Android 8.0 devices and above
|
||||
min_sdk_android: 16 # android min sdk min:16, default 21
|
Reference in New Issue
Block a user