pubspec.yaml 3.2 KB

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