flutter/pubspec.yaml
2025-09-09 10:57:52 +08:00

199 lines
6.5 KiB
YAML

name: loopin
description: "社交互动,短视频,购物"
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 4.1.0+407
environment:
sdk: ^3.6.0
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
logger: ^2.0.2
dio: ^5.8.0+1
cupertino_icons: ^1.0.8
card_swiper: ^3.0.1
flutter_svg: ^2.0.16
easy_refresh: ^3.4.0
# 腾讯IM
tencent_cloud_chat_sdk: ^8.6.7019+2
# 离线推送
tencent_cloud_chat_push: ^8.6.7019+1
# 瀑布流组件
flutter_staggered_grid_view: ^0.7.0
# 状态管理
get: ^4.6.6
get_storage: ^2.1.1
uuid: ^4.5.1
url_launcher: ^6.3.1
# 视频套件
media_kit: ^1.1.11
media_kit_video: ^1.2.5
media_kit_libs_video: ^1.0.5
photo_view: ^0.15.0
shirne_dialog: ^4.8.3
package_info_plus: ^8.3.0
dynamic_tabbar: ^1.0.9 #tab
flutter_upgrader: ^1.1.20 #更新
path_provider: ^2.1.2
permission_handler: ^12.0.0+1
install_plugin: ^2.1.0 # Android 安装 APK
flutter_native_splash: ^2.4.6 # 启动图
wechat_assets_picker: ^9.5.1
device_info_plus: ^11.5.0
photo_manager: ^3.7.1 #翻译媒体库
flutter_form_builder: ^10.0.1
form_builder_validators: ^11.1.2
geolocator: ^14.0.1
nested_scroll_view_plus: ^3.0.0 #滚动
ai_barcode_scanner: ^7.0.0
city_pickers: ^1.3.0
bottom_picker: ^3.2.1
fluwx: ^5.7.0 #微信sdk
flutter_image_compress: ^2.4.0 #处理图片
video_thumbnail: ^0.5.6 #视频首帧截取
record: ^6.0.0 #音频
audioplayers: ^6.5.0 #音频播放
flutter_html: ^3.0.0
timer_count_down: ^2.2.2 #倒计时
image_picker: ^1.2.0 #相机
video_player: ^2.10.0 #视频处理
mime: ^2.0.0 #文件类型推断
dev_dependencies:
flutter_launcher_icons: ^0.13.1 # 使用最新版本
flutter_test:
sdk: flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^5.0.0
# 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
assets:
- assets/images/
#notify
- assets/images/notify/
#logo
- assets/images/logo/
#avatar
- assets/images/avatar/
#svg
- assets/images/svg/
# emoj list
- assets/images/emotion/face02/
- assets/images/emotion/face03/
- assets/images/emotion/face04/
- assets/images/emotion/face05/
#update
- assets/images/update/rocket.png
#flutter pub run flutter_launcher_icons:main
#dart run flutter_launcher_icons
flutter_launcher_icons:
android: true
ios: true
image_path: "assets/images/logo/logo.png"
remove_alpha_ios: true #去掉ios端端透明通道
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/to/resolution-aware-images
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/to/asset-from-package
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/to/font-from-package
#dart run flutter_native_splash:create
#flutter pub run flutter_native_splash:create
flutter_native_splash:
ios: true
android: true
color: "#000000"
image: assets/images/logo/start.png
fullscreen: true
# background_image: assets/images/logo/start1.png
# color_dark: "#000000"
# image_dark: assets/images/logo/start1.png
android_12:
image: assets/images/logo/logo.png
icon_background_color: "#000000"
# image_dark: assets/images/logo/start.png
# icon_background_color_dark: "#000000"
web: false