pubspec.yaml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. name: nomo
  2. description: "nomo app"
  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: 1.0.0+1
  19. environment:
  20. sdk: ^3.9.2
  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. # The following adds the Cupertino Icons font to your application.
  31. # Use with the CupertinoIcons class for iOS style icons.
  32. cupertino_icons: ^1.0.8 # 图标
  33. dio: ^5.9.0 # 网络请求
  34. path: ^1.9.1 # 路径
  35. logger: ^2.6.1 # 日志
  36. path_provider: ^2.1.5 # 路径提供者
  37. flutter_svg: ^2.2.1 # svg
  38. uuid: ^4.5.1 # uuid
  39. url_launcher: ^6.3.2 # 链接
  40. share_plus: ^12.0.0 # 分享
  41. package_info_plus: ^9.0.0 # 包信息
  42. device_info_plus: ^12.1.0 # 设备信息
  43. connectivity_plus: ^7.0.0 # 网络连接
  44. cached_network_image: ^3.4.1 # 缓存网络图片
  45. animate_do: ^4.2.0 # 动画
  46. date_format: ^2.0.9 # 日期格式
  47. shimmer: ^3.0.0 # 骨架图效果
  48. network_info_plus: ^7.0.0 # 网络信息
  49. android_id: ^0.4.0 # 安卓ID
  50. archive: ^4.0.7 # 压缩
  51. app_links: ^6.4.1 # 应用链接
  52. flutter_custom_tabs: ^2.4.0 # 外链Google浏览器打开
  53. ntp: ^2.0.0 # 网络时间协议
  54. system_clock: ^3.0.0 # 系统时钟
  55. flutter_inappwebview: ^6.1.5 # 内嵌浏览器
  56. crypto: ^3.0.6 # 加密
  57. encrypt: ^5.0.3 # 加密
  58. flutter_markdown: ^0.7.7+1 # markdown
  59. flutter_switch: ^0.3.2 # 开关
  60. json_annotation: ^4.9.0 # 注解
  61. shared_preferences: ^2.5.3 # 共享偏好
  62. flutter_screenutil: ^5.9.3 # 屏幕适配
  63. get: ^5.0.0-release-candidate-9.3.2 # 路由
  64. flutter_spinkit: ^5.2.2 # 加载动画
  65. flutter_secure_storage: ^9.2.4 # 安全存储
  66. permission_handler: ^12.0.1 # 权限
  67. lottie: ^3.3.2 # 动画
  68. pinput: ^5.0.2 # 验证码输入框
  69. play_install_referrer: ^0.5.0 # google play install referrer
  70. # infinite_scroll_pagination: ^5.1.1 # 无限滚动分页
  71. # custom_refresh_indicator: ^4.0.1 # 自定义刷新指示器
  72. flutter_sticky_header: ^0.8.0 # 吸顶列表
  73. event_bus: ^2.0.0 # 事件总线
  74. animated_reorderable_list: ^1.3.0 # 可重新排序的动画列表
  75. freezed_annotation: ^2.4.4
  76. screenshot: ^3.0.0 # 截图
  77. image_gallery_saver_plus: ^4.0.1 # 保存图片到相册
  78. video_player: ^2.10.1 # 视频播放器
  79. in_app_purchase: ^3.2.3 # 内购
  80. carousel_slider: ^5.1.1 # 轮播图
  81. pull_to_refresh_flutter3: ^2.0.2 # 下拉刷新
  82. awesome_notifications: ^0.10.1 # 通知
  83. flutter_app_group_directory: ^1.1.0 # App Group目录
  84. shelf_web_socket: ^3.0.0 # windows 进程通信
  85. shelf: ^1.4.2 # windows 进程通信
  86. ffi: ^2.1.5 # FFI
  87. # hive_ce: ^2.17.0 # 本地缓存
  88. dev_dependencies:
  89. flutter_test:
  90. sdk: flutter
  91. # The "flutter_lints" package below contains a set of recommended lints to
  92. # encourage good coding practices. The lint set provided by the package is
  93. # activated in the `analysis_options.yaml` file located at the root of your
  94. # package. See that file for information about deactivating specific lint
  95. # rules and activating additional ones.
  96. flutter_lints: ^5.0.0
  97. build_runner: ^2.4.14
  98. freezed: ^2.5.8
  99. json_serializable: ^6.9.3
  100. pigeon: ^26.0.1
  101. flutter_launcher_icons: ^0.14.4 # 应用图标
  102. flutter_native_splash: ^2.4.6 # 应用启动页
  103. change_app_package_name: ^1.5.0 # 改变应用包名
  104. rename_app: ^1.6.5 # 重命名应用
  105. # For information on the generic Dart part of this file, see the
  106. # following page: https://dart.dev/tools/pub/pubspec
  107. # The following section is specific to Flutter packages.
  108. flutter:
  109. # The following line ensures that the Material Icons font is
  110. # included with your application, so that you can use the icons in
  111. # the material Icons class.
  112. uses-material-design: true
  113. assets:
  114. - assets/images/
  115. - assets/images/streaming/
  116. - assets/images/identity/
  117. - assets/images/round/
  118. - assets/images/html/
  119. - assets/vectors/
  120. - assets/vectors/boost/
  121. - assets/vectors/status/
  122. - assets/vectors/social/
  123. - assets/fonts/
  124. - assets/lottie/
  125. - assets/flags/
  126. - assets/
  127. - assets/html/
  128. - assets/md/
  129. fonts:
  130. - family: FiraSans
  131. fonts:
  132. - asset: assets/fonts/FiraSans-Regular.ttf
  133. weight: 300
  134. - asset: assets/fonts/FiraSans-Medium.ttf
  135. weight: 500
  136. - asset: assets/fonts/FiraSans-SemiBold.ttf
  137. weight: 700
  138. - family: NotoSansMyanmar
  139. fonts:
  140. - asset: assets/fonts/NotoSansMyanmar-Regular.ttf
  141. weight: 300
  142. - asset: assets/fonts/NotoSansMyanmar-Medium.ttf
  143. weight: 500
  144. - asset: assets/fonts/NotoSansMyanmar-SemiBold.ttf
  145. weight: 700
  146. - family: Vazirmatn
  147. fonts:
  148. - asset: assets/fonts/Vazirmatn-Regular.ttf
  149. weight: 300
  150. - asset: assets/fonts/Vazirmatn-Medium.ttf
  151. weight: 500
  152. - asset: assets/fonts/Vazirmatn-SemiBold.ttf
  153. weight: 700
  154. - family: iconfont
  155. fonts:
  156. - asset: assets/fonts/iconfont.ttf
  157. # To add assets to your application, add an assets section, like this:
  158. # assets:
  159. # - images/a_dot_burr.jpeg
  160. # - images/a_dot_ham.jpeg
  161. # An image asset can refer to one or more resolution-specific "variants", see
  162. # https://flutter.dev/to/resolution-aware-images
  163. # For details regarding adding assets from package dependencies, see
  164. # https://flutter.dev/to/asset-from-package
  165. # To add custom fonts to your application, add a fonts section here,
  166. # in this "flutter" section. Each entry in this list should have a
  167. # "family" key with the font family name, and a "fonts" key with a
  168. # list giving the asset and other descriptors for the font. For
  169. # example:
  170. # fonts:
  171. # - family: Schyler
  172. # fonts:
  173. # - asset: fonts/Schyler-Regular.ttf
  174. # - asset: fonts/Schyler-Italic.ttf
  175. # style: italic
  176. # - family: Trajan Pro
  177. # fonts:
  178. # - asset: fonts/TrajanPro.ttf
  179. # - asset: fonts/TrajanPro_Bold.ttf
  180. # weight: 700
  181. #
  182. # For details regarding fonts from package dependencies,
  183. # see https://flutter.dev/to/font-from-package