pubspec.yaml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. name: lszlgl
  2. description: A new Flutter project.
  3. # The following line prevents the package from being accidentally published to
  4. # pub.dev using `flutter pub publish`. This is preferred for private packages.
  5. publish_to: 'none' # Remove this line if you wish to publish to pub.dev
  6. # The following defines the version and build number for your application.
  7. # A version number is three numbers separated by dots, like 1.2.43
  8. # followed by an optional build number separated by a +.
  9. # Both the version and the builder number may be overridden in flutter
  10. # build by specifying --build-name and --build-number, respectively.
  11. # In Android, build-name is used as versionName while build-number used as versionCode.
  12. # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
  13. # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
  14. # Read more about iOS versioning at
  15. # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
  16. # In Windows, build-name is used as the major, minor, and patch parts
  17. # of the product and file versions while build-number is used as the build suffix.
  18. version: 0.0.18+18
  19. environment:
  20. sdk: '>=3.1.5 <4.0.0'
  21. # Dependencies specify other packages that your package needs in order to work.
  22. # To automatically upgrade your package dependencies to the latest versions
  23. # consider running `flutter pub upgrade --major-versions`. Alternatively,
  24. # dependencies can be manually updated by changing the version numbers below to
  25. # the latest version available on pub.dev. To see which dependencies have newer
  26. # versions available, run `flutter pub outdated`.
  27. dependencies:
  28. flutter:
  29. sdk: flutter
  30. flutter_localizations:
  31. sdk: flutter
  32. # The following adds the Cupertino Icons font to your application.
  33. # Use with the CupertinoIcons class for iOS style icons.
  34. cupertino_icons: ^1.0.2
  35. # 弹框
  36. flutter_smart_dialog: 4.9.6
  37. # 轮播图
  38. card_swiper: ^3.0.1
  39. # 缓存网络图片
  40. cached_network_image: ^3.3.1
  41. # App包信息
  42. package_info_plus: ^4.2.0
  43. # 设备信息
  44. device_info_plus: ^9.1.1
  45. # 隐藏软键盘
  46. flutter_keyboard_visibility: ^6.0.0
  47. # 日期格式转换
  48. date_format: ^2.0.7
  49. # 日期选择器
  50. syncfusion_flutter_datepicker: ^24.2.4
  51. # 网络连接状态
  52. connectivity_plus: ^5.0.2
  53. # 网络请求
  54. dio: ^5.4.1
  55. # 网络请求
  56. retrofit: '>=4.0.0 <5.0.0'
  57. # log打印
  58. logger: ^2.0.2+1
  59. # json解析
  60. json_annotation: ^4.8.1
  61. # 共享参数
  62. shared_preferences: ^2.2.2
  63. # 下拉刷新上拉加载
  64. easy_refresh: ^3.3.4
  65. # 依赖注入
  66. get_it: ^7.1.3
  67. # 文件路径
  68. path_provider: ^2.1.2
  69. # intent
  70. android_intent_plus: ^4.0.3
  71. # 安装apk
  72. install_plugin: ^2.1.0
  73. # 权限管理
  74. permission_handler: ^11.3.0
  75. # 高德定位
  76. amap_flutter_location: ^3.0.0
  77. # 二维码扫描
  78. # mobile_scanner: ^5.0.0-beta.3
  79. qr_code_scanner: ^1.0.1
  80. # 手写签名
  81. signature: ^5.4.1
  82. # loading集合
  83. flutter_spinkit: ^5.2.1
  84. # 保存到相册
  85. image_gallery_saver: ^2.0.3
  86. # 数据库
  87. drift: ^2.18.0
  88. #
  89. sqlite3_flutter_libs: ^0.5.0
  90. dev_dependencies:
  91. flutter_test:
  92. sdk: flutter
  93. # The "flutter_lints" package below contains a set of recommended lints to
  94. # encourage good coding practices. The lint set provided by the package is
  95. # activated in the `analysis_options.yaml` file located at the root of your
  96. # package. See that file for information about deactivating specific lint
  97. # rules and activating additional ones.
  98. flutter_lints: ^2.0.0
  99. retrofit_generator: '>=7.0.0 <8.0.0'
  100. build_runner: '>=2.3.0 <4.0.0'
  101. # JSON转实体类
  102. json_serializable: ^6.6.2
  103. drift_dev: ^2.2.0
  104. # For information on the generic Dart part of this file, see the
  105. # following page: https://dart.dev/tools/pub/pubspec
  106. # The following section is specific to Flutter packages.
  107. flutter:
  108. # The following line ensures that the Material Icons font is
  109. # included with your application, so that you can use the icons in
  110. # the material Icons class.
  111. uses-material-design: true
  112. # To add assets to your application, add an assets section, like this:
  113. assets:
  114. - assets/images/
  115. - assets/json/
  116. # An image asset can refer to one or more resolution-specific "variants", see
  117. # https://flutter.dev/assets-and-images/#resolution-aware
  118. # For details regarding adding assets from package dependencies, see
  119. # https://flutter.dev/assets-and-images/#from-packages
  120. # To add custom fonts to your application, add a fonts section here,
  121. # in this "flutter" section. Each entry in this list should have a
  122. # "family" key with the font family name, and a "fonts" key with a
  123. # list giving the asset and other descriptors for the font. For
  124. # example:
  125. # fonts:
  126. # - family: Schyler
  127. # fonts:
  128. # - asset: fonts/Schyler-Regular.ttf
  129. # - asset: fonts/Schyler-Italic.ttf
  130. # style: italic
  131. # - family: Trajan Pro
  132. # fonts:
  133. # - asset: fonts/TrajanPro.ttf
  134. # - asset: fonts/TrajanPro_Bold.ttf
  135. # weight: 700
  136. #
  137. # For details regarding fonts from package dependencies,
  138. # see https://flutter.dev/custom-fonts/#from-packages