pubspec.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. name: flutter_sound_example
  2. description: Demonstrates how to use the flutter_sound plugin.
  3. # The following defines the version and build number for your application.
  4. # A version number is three numbers separated by dots, like 1.2.43
  5. # followed by an optional build number separated by a +.
  6. # Both the version and the builder number may be overridden in flutter
  7. # build by specifying --build-name and --build-number, respectively.
  8. # Read more about versioning at semver.org.
  9. version: 1.0.0+1
  10. dependencies:
  11. flutter:
  12. sdk: flutter
  13. # The following adds the Cupertino Icons font to your application.
  14. # Use with the CupertinoIcons class for iOS style icons.
  15. intl: ^0.15.6
  16. cupertino_icons: ^0.1.2
  17. dev_dependencies:
  18. flutter_test:
  19. sdk: flutter
  20. flutter_sound:
  21. path: ../
  22. # For information on the generic Dart part of this file, see the
  23. # following page: https://www.dartlang.org/tools/pub/pubspec
  24. # The following section is specific to Flutter.
  25. flutter:
  26. # The following line ensures that the Material Icons font is
  27. # included with your application, so that you can use the icons in
  28. # the material Icons class.
  29. uses-material-design: true
  30. # To add assets to your application, add an assets section, like this:
  31. assets:
  32. - res/icons/ic_play.png
  33. - res/icons/2.0x/ic_play.png
  34. - res/icons/3.0x/ic_play.png
  35. - res/icons/ic_stop.png
  36. - res/icons/2.0x/ic_stop.png
  37. - res/icons/3.0x/ic_stop.png
  38. - res/icons/ic_pause.png
  39. - res/icons/2.0x/ic_pause.png
  40. - res/icons/3.0x/ic_pause.png
  41. - res/icons/ic_mic.png
  42. - res/icons/2.0x/ic_mic.png
  43. - res/icons/3.0x/ic_mic.png
  44. - res/icons/ic_volume_down.png
  45. - res/icons/2.0x/ic_volume_down.png
  46. - res/icons/3.0x/ic_volume_down.png
  47. - res/icons/ic_volume_up.png
  48. - res/icons/2.0x/ic_volume_up.png
  49. - res/icons/3.0x/ic_volume_up.png
  50. # An image asset can refer to one or more resolution-specific "variants", see
  51. # https://flutter.io/assets-and-images/#resolution-aware.
  52. # For details regarding adding assets from package dependencies, see
  53. # https://flutter.io/assets-and-images/#from-packages
  54. # To add custom fonts to your application, add a fonts section here,
  55. # in this "flutter" section. Each entry in this list should have a
  56. # "family" key with the font family name, and a "fonts" key with a
  57. # list giving the asset and other descriptors for the font. For
  58. # example:
  59. # fonts:
  60. # - family: Schyler
  61. # fonts:
  62. # - asset: fonts/Schyler-Regular.ttf
  63. # - asset: fonts/Schyler-Italic.ttf
  64. # style: italic
  65. # - family: Trajan Pro
  66. # fonts:
  67. # - asset: fonts/TrajanPro.ttf
  68. # - asset: fonts/TrajanPro_Bold.ttf
  69. # weight: 700
  70. #
  71. # For details regarding fonts from package dependencies,
  72. # see https://flutter.io/custom-fonts/#from-packages