mirror of
https://github.com/hmalik144/easy_cc_flutter.git
synced 2025-12-10 03:05:34 +00:00
- refactoring package name
- added icon for launcher
This commit is contained in:
14
pubspec.yaml
14
pubspec.yaml
@@ -48,6 +48,7 @@ dependencies:
|
||||
logger: ^1.1.0
|
||||
mockito: ^5.3.2
|
||||
json_annotation: ^4.7.0
|
||||
flutter_launcher_icons: ^0.10.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
@@ -66,6 +67,17 @@ dev_dependencies:
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
flutter_icons:
|
||||
android: "launcher_icon"
|
||||
ios: true
|
||||
image_path: "assets/icon/ic_launcher.png"
|
||||
min_sdk_android: 21 # android min sdk min:16, default 21
|
||||
web:
|
||||
generate: true
|
||||
image_path: "path/to/image.png"
|
||||
background_color: "#hexcode"
|
||||
theme_color: "#hexcode"
|
||||
|
||||
# The following section is specific to Flutter packages.
|
||||
flutter:
|
||||
|
||||
@@ -77,7 +89,7 @@ flutter:
|
||||
# To add assets to your application, add an assets section, like this:
|
||||
assets:
|
||||
- test/resources/
|
||||
# - images/a_dot_burr.jpeg
|
||||
- assets/icon/ic_launcher.png
|
||||
# - images/a_dot_ham.jpeg
|
||||
|
||||
# An image asset can refer to one or more resolution-specific "variants", see
|
||||
|
||||
Reference in New Issue
Block a user