pubspec.yaml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. name: flutter_desktop_app
  2. description: A new Flutter project.
  3. # The following line prevents the package from being accidentally published to
  4. # pub.dev using `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 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. version: 1.0.0+1
  17. environment:
  18. sdk: ">=2.12.0 <3.0.0"
  19. dependencies:
  20. flutter:
  21. sdk: flutter
  22. # The following adds the Cupertino Icons font to your application.
  23. # Use with the CupertinoIcons class for iOS style icons.
  24. cupertino_icons: ^1.0.2
  25. common_project:
  26. path: ./plugins/common_project
  27. module_login:
  28. path: ./modules/module_login
  29. module_home:
  30. path: ./modules/module_home
  31. module_me:
  32. path: ./modules/module_me
  33. module_chat:
  34. path: ./modules/flutter_chat_room
  35. module_im:
  36. path: ./modules/module_im
  37. module_find:
  38. path: ./modules/module_find
  39. window_size:
  40. git:
  41. url: git://github.com/google/flutter-desktop-embedding.git
  42. path: plugins/window_size
  43. ref: f2d8aa3820fb87316516670bf4d51a74de8ac0dd
  44. dev_dependencies:
  45. flutter_test:
  46. sdk: flutter
  47. #设置icon
  48. flutter_launcher_icons: ^0.9.2
  49. # change to do
  50. # flutter pub get
  51. # flutter pub run flutter_launcher_icons:main
  52. flutter_icons:
  53. image_path_android: "assets/icon/icon.png"
  54. image_path_ios: "assets/icon/icon.png"
  55. android: true
  56. ios: true
  57. # For information on the generic Dart part of this file, see the
  58. # following page: https://dart.dev/tools/pub/pubspec
  59. # The following section is specific to Flutter.
  60. flutter:
  61. # The following line ensures that the Material Icons font is
  62. # included with your application, so that you can use the icons in
  63. # the material Icons class.
  64. uses-material-design: true
  65. assets:
  66. - assets/svg/
  67. - assets/lotties/json/
  68. - assets/lotties/live/
  69. - assets/lotties/pk/pk_Start/
  70. - assets/lotties/pk/pk_Start/images/
  71. - assets/lotties/pk/pk_Win/
  72. - assets/lotties/pk/pk_Win/images/
  73. - assets/lotties/location_lottie_res/
  74. - assets/lotties/pk/pk_Lightning/
  75. - assets/lotties/pk/pk_Lightning/images/
  76. - assets/lotties/pk/pk_MvpHeadwear/
  77. - assets/lotties/pk/pk_MvpHeadwear/images/
  78. - assets/lotties/pk/pk_ProgressBlue/
  79. - assets/lotties/pk/pk_ProgressBlue/images/
  80. - assets/lotties/pk/pk_ProgressRed/
  81. - assets/lotties/pk/pk_ProgressRed/images/
  82. - assets/lotties/pk/pk_Win/
  83. - assets/lotties/pk/pk_Win/images/
  84. - assets/lotties/pk/pk_Draw/
  85. - assets/lotties/pk/pk_Draw/images/
  86. - assets/lotties/pk/pk_Defeat/
  87. - assets/lotties/pk/pk_Defeat/images/
  88. - assets/lotties/lv_effect/LV3_Effect/
  89. - assets/lotties/lv_effect/LV3_Effect/images/
  90. - assets/lotties/lottie_giftcombobg/
  91. - assets/lotties/lottie_giftcombobg/images/
  92. - assets/lotties/lv_effect/LV1_Effect/
  93. - assets/lotties/lv_effect/LV1_Effect/images/
  94. - assets/lotties/lv_effect/LV2_Effect/
  95. - assets/lotties/lv_effect/LV2_Effect/images/
  96. - assets/lotties/lv_effect/LV4_Effect/
  97. - assets/lotties/lv_effect/LV4_Effect/images/
  98. # To add assets to your application, add an assets section, like this:
  99. # assets:
  100. # - images/a_dot_burr.jpeg
  101. # - images/a_dot_ham.jpeg
  102. # An image asset can refer to one or more resolution-specific "variants", see
  103. # https://flutter.dev/assets-and-images/#resolution-aware.
  104. # For details regarding adding assets from package dependencies, see
  105. # https://flutter.dev/assets-and-images/#from-packages
  106. # To add custom fonts to your application, add a fonts section here,
  107. # in this "flutter" section. Each entry in this list should have a
  108. # "family" key with the font family name, and a "fonts" key with a
  109. # list giving the asset and other descriptors for the font. For
  110. # example:
  111. fonts:
  112. - family: icon_mine
  113. fonts:
  114. - asset: assets/iconfont/icon_mine.ttf
  115. - family: icon_center
  116. fonts:
  117. - asset: assets/iconfont/icon_center.ttf
  118. - family: icon_find
  119. fonts:
  120. - asset: assets/iconfont/icon_find.ttf
  121. - family: icon_home
  122. fonts:
  123. - asset: assets/iconfont/icon_home.ttf
  124. - family: icon_mes
  125. fonts:
  126. - asset: assets/iconfont/icon_mes.ttf
  127. # - family: Trajan Pro
  128. # fonts:
  129. # - asset: fonts/TrajanPro.ttf
  130. # - asset: fonts/TrajanPro_Bold.ttf
  131. # weight: 700
  132. #
  133. # For details regarding fonts from package dependencies,
  134. # see https://flutter.dev/custom-fonts/#from-packages
  135. flutter_intl:
  136. enabled: false