刚开始什么库不引入的时候有600个红色,后来根据灯泡引入了变成了145个,准备暴力引入
先去yaml文件里复制(copy)了
# 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 used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
#
# This version is used _only_ for the Runner app, which is used if you just do
# a `flutter run` or a `flutter make-host-app-editable`. It has no impact
# on any other native host app that you embed your Flutter project into.
version: 6.4.0+1
environment:
sdk: ">=3.0.6 <4.0.0"
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.
#图片 https://pub.flutter-io.cn/packages/cupertino_icons
cupertino_icons:
pull_to_refresh:
flutter_easyrefresh:
extended_image:
fluttertoast:
http:
#NIM网易云信聊天
nim_core:
scroll_to_index:
#降级到指定版本 否则安卓那边会报错 3.0.7
flutter_swipe_action_cell:
flutter_svprogresshud:
shared_preferences:
stream_transform:
#底部弹出选择器
flutter_picker:
# 时间格式转换
date_format:
# Flutter 轮播图 https://pub.flutter-io.cn/packages/flutter_swiper_null_safety_flutter3
flutter_swiper_null_safety_flutter3:
#webview库
flutter_inappwebview: 5.8.0
# 图片手势 https://pub.flutter-io.cn/packages/photo_view
photo_view:
# 自定义滑块
syncfusion_flutter_core: 23.2.4
syncfusion_flutter_sliders: 23.2.4
# 小红点 https://pub.flutter-io.cn/packages/badges
badges: ^2.0.3
# 拖拽排序 https://pub.flutter-io.cn/packages/reorderables
reorderables:
# 图表 https://pub-web.flutter-io.cn/packages/fl_chart
syncfusion_flutter_charts: 23.2.4
sprintf:
provider:
flutter_widget_from_html:
url_launcher:
easy_rich_text: 2.0.0
flutter_html:
remove_emoji:
chewie: ^1.5.0
flutter_bugly:
# 网络监听
connectivity:
# leak_detector: