4 Star 34 Fork 8

在路上/ruoyi-plus-flutter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pubspec.yaml 7.64 KB
一键复制 编辑 原始数据 按行查看 历史
在路上 提交于 2025-05-13 17:36 +08:00 . update:更新sdk
name: ruoyi_plus_flutter
description: "基于https://gitee.com/dromara/RuoYi-Vue-Plus的Flutter客户端"
# 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: 5.3.1
environment:
sdk: '>=3.5.0 <4.0.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
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6
# 国际化
flutter_localizations:
sdk: flutter
flukit: any #https://pub.flutter-io.cn/packages/flukit
intl: ^0.19.0
#基础框架
flutter_slc_boxes: ^0.4.3
#flutter_slc_boxes:
# git:
# url: https://gitee.com/slcpublic/flutter_slc_boxes.git
#----------------- 版本不要轻易改动 加上是因为上述包也用了这个
#状态管理
provider: ^6.1.2
#路由
# go_router: ^14.2.7
# UI相关---------------------------------------
#Toast
fluttertoast: ^8.2.8
#地址:https://github.com/peng8350/flutter_pulltorefresh/blob/master/README_CN.md
easy_refresh: ^3.4.0
#svg
#地址:https://pub.flutter-io.cn/packages/flutter_svg
flutter_svg: ^2.0.10+1
#扩展NestedScrollView https://pub.flutter-io.cn/packages/extended_nested_scroll_view
extended_nested_scroll_view: ^6.2.1
#设置
#settings_ui: ^1.0.0
#图表
fl_chart: ^0.70.2
#syncfusion_flutter_charts: ^28.2.11
# 图片缓存加载
cached_network_image: ^3.4.1
# 网络相关-------------------------------------
json_annotation: ^4.9.0
retrofit: ^4.1.0
logger: ^2.3.0 #for logging purpose
# 网络请求 用了retrofit无需使用以下方法
#dio: ^4.0.0
# RxJava
rxdart: ^0.28.0
#加解密
encrypt: ^5.0.3
# 文件相关---------------------------------------
#图片选择
image_picker: ^1.1.2
# 保存图片到相册 https://pub.dev/packages/image_gallery_saver 混合开发中好像有点冲突,具体待测试
image_gallery_saver: ^2.0.3
# 图片裁剪
crop_your_image: ^1.1.0
# 文件选择
file_picker: ^9.0.2
# 路径访问
path_provider: ^2.1.5
# 打开文件
open_file: ^3.5.10
# url_launcher
url_launcher: ^6.3.0
# 存储---------------------------------------
shared_preferences: ^2.5.2
# 其他---------------------------------------
#权限处理
permission_handler: ^11.4.0
#设备信息 会影响编译和冲突,暂不加入
# device_info_plus: ^11.3.3
#UUID
uuid: ^4.4.0
#解决键盘被遮挡
keyboard_avoider: ^0.2.0
#
package_info_plus: ^8.3.0
# 表单---------------------------------------
# 表单相关
flutter_form_builder: ^9.7.0
form_builder_extra_fields: ^11.0.0
form_builder_image_picker: ^4.1.0
# form_builder_file_picker: ^4.2.0
form_builder_validators: ^11.1.1
form_builder_phone_field: ^2.0.1
# form_builder_cupertino_fields: ^0.4.0 ios风格
# 特殊的UI组件---------------------------------------
#WebView
webview_flutter: ^4.10.0
#markdown
flutter_markdown: ^0.7.6+2
#Json格式化
interactive_json_preview: ^0.1.0
#html处理相关
#universal_html: ^2.2.4
dependency_overrides:
image_gallery_saver:
git:
url: https://github.com/knottx/image_gallery_saver.git
ref: knottx-latest
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^2.4.11
# 网络相关-------------------------------------
retrofit_generator: ^8.1.1
#json_serializable 生成新的命令 flutter pub run build_runner build
json_serializable: ^6.8.0
#路由
# go_router_builder: ^2.7.1
# 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
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
assets:
- assets/images/ic_launcher.png
- assets/images/base/ic_no_date.svg
- assets/images/base/ic_loading.svg
- assets/images/base/ic_loading.png
- assets/images/base/ic_def_user_head.png
- assets/images/user/ic_folder.svg
- assets/images/mp/slc_mp_ic_android.png
- assets/images/mp/slc_mp_ic_audiotrack.png
- assets/images/mp/slc_mp_ic_cs.png
- assets/images/mp/slc_mp_ic_excel.png
- assets/images/mp/slc_mp_ic_folder.png
- assets/images/mp/slc_mp_ic_html.png
- assets/images/mp/slc_mp_ic_image.png
- assets/images/mp/slc_mp_ic_pdf.png
- assets/images/mp/slc_mp_ic_powerpoint.png
- assets/images/mp/slc_mp_ic_text.png
- assets/images/mp/slc_mp_ic_unknown.png
- assets/images/mp/slc_mp_ic_videocam.png
- assets/images/mp/slc_mp_ic_word.png
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# 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/custom-fonts/#from-packages
flutter_intl:
enabled: true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Dart
1
https://gitee.com/sunlunchang/ruoyi-plus-flutter.git
git@gitee.com:sunlunchang/ruoyi-plus-flutter.git
sunlunchang
ruoyi-plus-flutter
ruoyi-plus-flutter
master

搜索帮助