pubspec.yaml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. name: app_flowy
  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 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.17.0 <3.0.0"
  19. # Dependencies specify other packages that your package needs in order to work.
  20. # To automatically upgrade your package dependencies to the latest versions
  21. # consider running `flutter pub upgrade --major-versions`. Alternatively,
  22. # dependencies can be manually updated by changing the version numbers below to
  23. # the latest version available on pub.dev. To see which dependencies have newer
  24. # versions available, run `flutter pub outdated`.
  25. dependencies:
  26. flutter:
  27. sdk: flutter
  28. flutter_localizations:
  29. sdk: flutter
  30. flowy_sdk:
  31. path: packages/flowy_sdk
  32. flowy_infra_ui:
  33. path: packages/flowy_infra_ui
  34. flowy_infra:
  35. path: packages/flowy_infra
  36. appflowy_board:
  37. path: packages/appflowy_board
  38. appflowy_editor:
  39. path: packages/appflowy_editor
  40. appflowy_popover:
  41. path: packages/appflowy_popover
  42. # third party packages
  43. intl: ^0.17.0
  44. time: "^2.0.0"
  45. equatable: "^2.0.3"
  46. freezed_annotation: ^2.1.0
  47. get_it: "^7.1.3"
  48. flutter_bloc: "^8.0.1"
  49. dartz: ^0.10.1
  50. provider: ^6.0.1
  51. path_provider: ^2.0.1
  52. window_size:
  53. git:
  54. url: https://github.com/google/flutter-desktop-embedding.git
  55. path: plugins/window_size
  56. ref: e48abe7c3e9ebfe0b81622167c5201d4e783bb81
  57. sized_context: ^1.0.0+1
  58. styled_widget: "^0.3.1"
  59. expandable: ^5.0.1
  60. flutter_colorpicker: ^0.6.0
  61. package_info_plus: ^1.3.0
  62. url_launcher: ^6.0.2
  63. # file_picker: ^4.2.1
  64. clipboard: ^0.1.3
  65. connectivity_plus: ^2.3.6+1
  66. connectivity_plus_platform_interface: ^1.2.2
  67. easy_localization: ^3.0.0
  68. textfield_tags: ^2.0.2
  69. # The following adds the Cupertino Icons font to your application.
  70. # Use with the CupertinoIcons class for iOS style icons.
  71. cupertino_icons: ^1.0.2
  72. device_info_plus: ^3.2.1
  73. fluttertoast: ^8.0.9
  74. table_calendar: ^3.0.5
  75. reorderables: ^0.5.0
  76. linked_scroll_controller: ^0.2.0
  77. hotkey_manager: ^0.1.7
  78. fixnum: ^1.0.1
  79. tuple: ^2.0.0
  80. protobuf: "2.0.0"
  81. charcode: ^1.3.1
  82. collection: ^1.16.0
  83. bloc: ^8.1.0
  84. textstyle_extensions: "2.0.0-nullsafety"
  85. shared_preferences: ^2.0.15
  86. google_fonts: ^3.0.1
  87. file_picker: <=5.0.0
  88. percent_indicator: ^4.0.1
  89. dev_dependencies:
  90. flutter_lints: ^2.0.1
  91. flutter_test:
  92. sdk: flutter
  93. integration_test:
  94. sdk: flutter
  95. build_runner: ^2.2.0
  96. freezed: ^2.1.0+1
  97. bloc_test: ^9.0.2
  98. dependency_overrides:
  99. analyzer: ">=4.4.0 <5.0.0"
  100. # The "flutter_lints" package below contains a set of recommended lints to
  101. # encourage good coding practices. The lint set provided by the package is
  102. # activated in the `analysis_options.yaml` file located at the root of your
  103. # package. See that file for information about deactivating specific lint
  104. # rules and activating additional ones.
  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.
  108. flutter:
  109. # Automatic code generation for l10n and i18n
  110. generate: true
  111. # The following line ensures that the Material Icons font is
  112. # included with your application, so that you can use the icons in
  113. # the material Icons class.
  114. uses-material-design: true
  115. fonts:
  116. - family: FlowyIconData
  117. fonts:
  118. - asset: assets/fonts/FlowyIconData.ttf
  119. - family: Poppins
  120. fonts:
  121. - asset: assets/google_fonts/Poppins/Poppins-ExtraLight.ttf
  122. weight: 100
  123. - asset: assets/google_fonts/Poppins/Poppins-Thin.ttf
  124. weight: 200
  125. - asset: assets/google_fonts/Poppins/Poppins-Light.ttf
  126. weight: 300
  127. - asset: assets/google_fonts/Poppins/Poppins-Regular.ttf
  128. weight: 400
  129. - asset: assets/google_fonts/Poppins/Poppins-Medium.ttf
  130. weight: 500
  131. - asset: assets/google_fonts/Poppins/Poppins-SemiBold.ttf
  132. weight: 600
  133. - asset: assets/google_fonts/Poppins/Poppins-Bold.ttf
  134. weight: 700
  135. - asset: assets/google_fonts/Poppins/Poppins-Black.ttf
  136. weight: 800
  137. - asset: assets/google_fonts/Poppins/Poppins-ExtraBold.ttf
  138. weight: 900
  139. # To add assets to your application, add an assets section, like this:
  140. assets:
  141. - assets/images/
  142. - assets/images/home/
  143. - assets/images/editor/
  144. - assets/images/grid/
  145. - assets/images/emoji/
  146. - assets/images/grid/field/
  147. - assets/images/grid/setting/
  148. - assets/translations/
  149. # - images/a_dot_ham.jpeg
  150. # An image asset can refer to one or more resolution-specific "variants", see
  151. # https://flutter.dev/assets-and-images/#resolution-aware.
  152. # For details regarding adding assets from package dependencies, see
  153. # https://flutter.dev/assets-and-images/#from-packages
  154. # To add custom fonts to your application, add a fonts section here,
  155. # in this "flutter" section. Each entry in this list should have a
  156. # "family" key with the font family name, and a "fonts" key with a
  157. # list giving the asset and other descriptors for the font. For
  158. # example:
  159. # fonts:
  160. # - family: Schyler
  161. # fonts:
  162. # - asset: fonts/Schyler-Regular.ttf
  163. # - asset: fonts/Schyler-Italic.ttf
  164. # style: italic
  165. # - family: Trajan Pro
  166. # fonts:
  167. # - asset: fonts/TrajanPro.ttf
  168. # - asset: fonts/TrajanPro_Bold.ttf
  169. # weight: 700
  170. #
  171. # For details regarding fonts from package dependencies,
  172. # see https://flutter.dev/custom-fonts/#from-packages