pubspec.yaml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. name: compdfkit_flutter_example
  2. description: Demonstrates how to use the compdfkit_flutter plugin.
  3. version: 1.0.0
  4. homepage: https://www.compdf.com
  5. environment:
  6. sdk: '>=3.0.5 <4.0.0'
  7. # Dependencies specify other packages that your package needs in order to work.
  8. # To automatically upgrade your package dependencies to the latest versions
  9. # consider running `flutter pub upgrade --major-versions`. Alternatively,
  10. # dependencies can be manually updated by changing the version numbers below to
  11. # the latest version available on pub.dev. To see which dependencies have newer
  12. # versions available, run `flutter pub outdated`.
  13. dependencies:
  14. flutter:
  15. sdk: flutter
  16. compdfkit_flutter:
  17. # When depending on this package from a real application you should use:
  18. # compdfkit_flutter: ^x.y.z
  19. # See https://dart.dev/tools/pub/dependencies#version-constraints
  20. # The example app is bundled with the plugin so we use a path dependency on
  21. # the parent directory to use the current plugin's version.
  22. path: ../
  23. # The following adds the Cupertino Icons font to your application.
  24. # Use with the CupertinoIcons class for iOS style icons.
  25. cupertino_icons: ^1.0.2
  26. dev_dependencies:
  27. integration_test:
  28. sdk: flutter
  29. flutter_test:
  30. sdk: flutter
  31. # The "flutter_lints" package below contains a set of recommended lints to
  32. # encourage good coding practices. The lint set provided by the package is
  33. # activated in the `analysis_options.yaml` file located at the root of your
  34. # package. See that file for information about deactivating specific lint
  35. # rules and activating additional ones.
  36. flutter_lints: ^2.0.0
  37. # For information on the generic Dart part of this file, see the
  38. # following page: https://dart.dev/tools/pub/pubspec
  39. # The following section is specific to Flutter packages.
  40. flutter:
  41. # The following line ensures that the Material Icons font is
  42. # included with your application, so that you can use the icons in
  43. # the material Icons class.
  44. uses-material-design: true
  45. assets:
  46. - pdfs/
  47. # To add assets to your application, add an assets section, like this:
  48. # assets:
  49. # - images/a_dot_burr.jpeg
  50. # - images/a_dot_ham.jpeg
  51. # An image asset can refer to one or more resolution-specific "variants", see
  52. # https://flutter.dev/assets-and-images/#resolution-aware
  53. # For details regarding adding assets from package dependencies, see
  54. # https://flutter.dev/assets-and-images/#from-packages
  55. # To add custom fonts to your application, add a fonts section here,
  56. # in this "flutter" section. Each entry in this list should have a
  57. # "family" key with the font family name, and a "fonts" key with a
  58. # list giving the asset and other descriptors for the font. For
  59. # example:
  60. # fonts:
  61. # - family: Schyler
  62. # fonts:
  63. # - asset: fonts/Schyler-Regular.ttf
  64. # - asset: fonts/Schyler-Italic.ttf
  65. # style: italic
  66. # - family: Trajan Pro
  67. # fonts:
  68. # - asset: fonts/TrajanPro.ttf
  69. # - asset: fonts/TrajanPro_Bold.ttf
  70. # weight: 700
  71. #
  72. # For details regarding fonts from package dependencies,
  73. # see https://flutter.dev/custom-fonts/#from-packages