pubspec.yaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. name: broadcast_example
  2. description: Demonstrates how to use the broadcast plugin.
  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. environment:
  7. sdk: ">=2.7.0 <3.0.0"
  8. dependencies:
  9. flutter:
  10. sdk: flutter
  11. broadcast:
  12. # When depending on this package from a real application you should use:
  13. # broadcast: ^x.y.z
  14. # See https://dart.dev/tools/pub/dependencies#version-constraints
  15. # The example app is bundled with the plugin so we use a path dependency on
  16. # the parent directory to use the current plugin's version.
  17. path: ../
  18. # The following adds the Cupertino Icons font to your application.
  19. # Use with the CupertinoIcons class for iOS style icons.
  20. cupertino_icons: ^0.1.3
  21. dev_dependencies:
  22. flutter_test:
  23. sdk: flutter
  24. # For information on the generic Dart part of this file, see the
  25. # following page: https://dart.dev/tools/pub/pubspec
  26. # The following section is specific to Flutter.
  27. flutter:
  28. # The following line ensures that the Material Icons font is
  29. # included with your application, so that you can use the icons in
  30. # the material Icons class.
  31. uses-material-design: true
  32. # To add assets to your application, add an assets section, like this:
  33. # assets:
  34. # - images/a_dot_burr.jpeg
  35. # - images/a_dot_ham.jpeg
  36. # An image asset can refer to one or more resolution-specific "variants", see
  37. # https://flutter.dev/assets-and-images/#resolution-aware.
  38. # For details regarding adding assets from package dependencies, see
  39. # https://flutter.dev/assets-and-images/#from-packages
  40. # To add custom fonts to your application, add a fonts section here,
  41. # in this "flutter" section. Each entry in this list should have a
  42. # "family" key with the font family name, and a "fonts" key with a
  43. # list giving the asset and other descriptors for the font. For
  44. # example:
  45. # fonts:
  46. # - family: Schyler
  47. # fonts:
  48. # - asset: fonts/Schyler-Regular.ttf
  49. # - asset: fonts/Schyler-Italic.ttf
  50. # style: italic
  51. # - family: Trajan Pro
  52. # fonts:
  53. # - asset: fonts/TrajanPro.ttf
  54. # - asset: fonts/TrajanPro_Bold.ttf
  55. # weight: 700
  56. #
  57. # For details regarding fonts from package dependencies,
  58. # see https://flutter.dev/custom-fonts/#from-packages