pubspec.yaml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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: ^2.0.1 # 系统时钟
  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. freezed_annotation: ^3.1.0 # 注解
  61. json_annotation: ^4.9.0 # 注解
  62. shared_preferences: ^2.5.3 # 共享偏好
  63. flutter_screenutil: ^5.9.3 # 屏幕适配
  64. get: ^5.0.0-release-candidate-9.3.2 # 路由
  65. flutter_spinkit: ^5.2.2 # 加载动画
  66. flutter_secure_storage: ^9.2.4 # 安全存储
  67. permission_handler: ^12.0.1 # 权限
  68. lottie: ^3.3.2 # 动画
  69. pinput: ^5.0.2 # 验证码输入框
  70. play_install_referrer: ^0.5.0 # google play install referrer
  71. # infinite_scroll_pagination: ^5.1.1 # 无限滚动分页
  72. # custom_refresh_indicator: ^4.0.1 # 自定义刷新指示器
  73. flutter_sticky_header: ^0.8.0 # 吸顶列表
  74. event_bus: ^2.0.0 # 事件总线
  75. animated_reorderable_list: ^1.3.0 # 可重新排序的动画列表
  76. dev_dependencies:
  77. flutter_test:
  78. sdk: flutter
  79. # The "flutter_lints" package below contains a set of recommended lints to
  80. # encourage good coding practices. The lint set provided by the package is
  81. # activated in the `analysis_options.yaml` file located at the root of your
  82. # package. See that file for information about deactivating specific lint
  83. # rules and activating additional ones.
  84. flutter_lints: ^5.0.0
  85. build_runner: ^2.7.1
  86. freezed: ^3.2.3
  87. json_serializable: ^6.11.1
  88. pigeon: ^26.0.1
  89. flutter_launcher_icons: ^0.14.4 # 应用图标
  90. flutter_native_splash: ^2.4.6 # 应用启动页
  91. change_app_package_name: ^1.5.0 # 改变应用包名
  92. rename_app: ^1.6.5 # 重命名应用
  93. # For information on the generic Dart part of this file, see the
  94. # following page: https://dart.dev/tools/pub/pubspec
  95. # The following section is specific to Flutter packages.
  96. flutter:
  97. # The following line ensures that the Material Icons font is
  98. # included with your application, so that you can use the icons in
  99. # the material Icons class.
  100. uses-material-design: true
  101. assets:
  102. - assets/images/
  103. - assets/vectors/
  104. - assets/vectors/boost/
  105. - assets/vectors/status/
  106. - assets/vectors/social/
  107. - assets/fonts/
  108. - assets/lottie/
  109. - assets/flags/
  110. - assets/
  111. - assets/md/
  112. fonts:
  113. - family: FiraSans
  114. fonts:
  115. - asset: assets/fonts/FiraSans-Regular.ttf
  116. weight: 300
  117. - asset: assets/fonts/FiraSans-Medium.ttf
  118. weight: 500
  119. - asset: assets/fonts/FiraSans-SemiBold.ttf
  120. weight: 700
  121. - family: NotoSansMyanmar
  122. fonts:
  123. - asset: assets/fonts/NotoSansMyanmar-Regular.ttf
  124. weight: 300
  125. - asset: assets/fonts/NotoSansMyanmar-Medium.ttf
  126. weight: 500
  127. - asset: assets/fonts/NotoSansMyanmar-SemiBold.ttf
  128. weight: 700
  129. - family: Vazirmatn
  130. fonts:
  131. - asset: assets/fonts/Vazirmatn-Regular.ttf
  132. weight: 300
  133. - asset: assets/fonts/Vazirmatn-Medium.ttf
  134. weight: 500
  135. - asset: assets/fonts/Vazirmatn-SemiBold.ttf
  136. weight: 700
  137. # To add assets to your application, add an assets section, like this:
  138. # assets:
  139. # - images/a_dot_burr.jpeg
  140. # - images/a_dot_ham.jpeg
  141. # An image asset can refer to one or more resolution-specific "variants", see
  142. # https://flutter.dev/to/resolution-aware-images
  143. # For details regarding adding assets from package dependencies, see
  144. # https://flutter.dev/to/asset-from-package
  145. # To add custom fonts to your application, add a fonts section here,
  146. # in this "flutter" section. Each entry in this list should have a
  147. # "family" key with the font family name, and a "fonts" key with a
  148. # list giving the asset and other descriptors for the font. For
  149. # example:
  150. # fonts:
  151. # - family: Schyler
  152. # fonts:
  153. # - asset: fonts/Schyler-Regular.ttf
  154. # - asset: fonts/Schyler-Italic.ttf
  155. # style: italic
  156. # - family: Trajan Pro
  157. # fonts:
  158. # - asset: fonts/TrajanPro.ttf
  159. # - asset: fonts/TrajanPro_Bold.ttf
  160. # weight: 700
  161. #
  162. # For details regarding fonts from package dependencies,
  163. # see https://flutter.dev/to/font-from-package