pubspec.yaml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. name: my_first_app
  2. description: A new Flutter project.
  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. # 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 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. version: 1.0.0+1
  17. environment:
  18. sdk: ">=2.7.0 <3.0.0"
  19. dependencies:
  20. flutter:
  21. sdk: flutter
  22. http: ^0.12.2
  23. shared_preferences: ^0.5.12
  24. connectivity: ^0.4.9+5
  25. # The following adds the Cupertino Icons font to your application.
  26. # Use with the CupertinoIcons class for iOS style icons.
  27. cupertino_icons: ^1.0.0
  28. dev_dependencies:
  29. flutter_test:
  30. sdk: flutter
  31. # For information on the generic Dart part of this file, see the
  32. # following page: https://dart.dev/tools/pub/pubspec
  33. # The following section is specific to Flutter.
  34. flutter:
  35. # The following line ensures that the Material Icons font is
  36. # included with your application, so that you can use the icons in
  37. # the material Icons class.
  38. uses-material-design: true
  39. assets:
  40. - assets/images/
  41. # To add assets to your application, add an assets section, like this:
  42. # assets:
  43. # - images/a_dot_burr.jpeg
  44. # - images/a_dot_ham.jpeg
  45. # An image asset can refer to one or more resolution-specific "variants", see
  46. # https://flutter.dev/assets-and-images/#resolution-aware.
  47. # For details regarding adding assets from package dependencies, see
  48. # https://flutter.dev/assets-and-images/#from-packages
  49. # To add custom fonts to your application, add a fonts section here,
  50. # in this "flutter" section. Each entry in this list should have a
  51. # "family" key with the font family name, and a "fonts" key with a
  52. # list giving the asset and other descriptors for the font. For
  53. # example:
  54. # fonts:
  55. # - family: Schyler
  56. # fonts:
  57. # - asset: fonts/Schyler-Regular.ttf
  58. # - asset: fonts/Schyler-Italic.ttf
  59. # style: italic
  60. # - family: Trajan Pro
  61. # fonts:
  62. # - asset: fonts/TrajanPro.ttf
  63. # - asset: fonts/TrajanPro_Bold.ttf
  64. # weight: 700
  65. #
  66. # For details regarding fonts from package dependencies,
  67. # see https://flutter.dev/custom-fonts/#from-packages