1
0

pubspec.yaml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. name: pocketpy_example
  2. description: Demonstrates how to use the pocketpy 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. # 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: '>=2.17.0 <3.0.0'
  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. pocketpy:
  31. # When depending on this package from a real application you should use:
  32. # pocketpy: ^x.y.z
  33. # See https://dart.dev/tools/pub/dependencies#version-constraints
  34. # The example app is bundled with the plugin so we use a path dependency on
  35. # the parent directory to use the current plugin's version.
  36. path: ../
  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. # To add assets to your application, add an assets section, like this:
  46. # assets:
  47. # - images/a_dot_burr.jpeg
  48. # - images/a_dot_ham.jpeg
  49. # An image asset can refer to one or more resolution-specific "variants", see
  50. # https://flutter.dev/assets-and-images/#resolution-aware
  51. # For details regarding adding assets from package dependencies, see
  52. # https://flutter.dev/assets-and-images/#from-packages
  53. # To add custom fonts to your application, add a fonts section here,
  54. # in this "flutter" section. Each entry in this list should have a
  55. # "family" key with the font family name, and a "fonts" key with a
  56. # list giving the asset and other descriptors for the font. For
  57. # example:
  58. # fonts:
  59. # - family: Schyler
  60. # fonts:
  61. # - asset: fonts/Schyler-Regular.ttf
  62. # - asset: fonts/Schyler-Italic.ttf
  63. # style: italic
  64. # - family: Trajan Pro
  65. # fonts:
  66. # - asset: fonts/TrajanPro.ttf
  67. # - asset: fonts/TrajanPro_Bold.ttf
  68. # weight: 700
  69. #
  70. # For details regarding fonts from package dependencies,
  71. # see https://flutter.dev/custom-fonts/#from-packages