name: inventree
description: InvenTree stock management

# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning

# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 0.5.6+36

environment:
  sdk: ">=2.12.0 <3.0.0"

dependencies:

  flutter:
    sdk: flutter

  flutter_localizations:
    sdk: flutter

  audioplayers: ^0.20.1                   # Play audio files
  cached_network_image: ^3.2.0            # Download and cache remote images
  camera: ^0.9.4                       # Camera
  cupertino_icons: ^1.0.3
  datetime_picker_formfield: ^2.0.0       # Date / time picker
  device_info_plus: ^3.2.2                # Information about the device
  dropdown_search: ^0.6.3                  # Dropdown autocomplete form fields
  file_picker: ^4.5.1                     # Select files from the device


  flutter_markdown: ^0.6.9                # Rendering markdown
  font_awesome_flutter: ^10.1.0            # FontAwesome icon set
  http: ^0.13.4
  image_picker: ^0.8.3                    # Select or take photos
  infinite_scroll_pagination: ^3.1.0      # Let the server do all the work!
  intl: ^0.17.0
  one_context: ^1.1.0                     # Dialogs without requiring context
  open_file: ^3.2.1                        # Open local files
  package_info_plus: ^1.0.4               # App information introspection
  path: ^1.8.0
  path_provider: ^2.0.2                    # Local file storage
  qr_code_scanner: ^0.7.0                 # Barcode scanning
  sembast: ^3.1.0+2                       # NoSQL data storage
  sentry_flutter: ^6.4.0                   # Error reporting
  url_launcher: ^6.0.9                     # Open link in system browser

dev_dependencies:
  flutter_launcher_icons:
  flutter_test:
    sdk: flutter
  lint: ^1.0.0

flutter_icons:
  android: true
  ios: true
  image_path: "assets/image/icon.png"

# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:
  uses-material-design: true

  generate: true

  assets:
    - assets/image/icon.png
    - assets/release_notes.md
    - assets/credits.md
    - assets/sounds/barcode_scan.mp3
    - assets/sounds/barcode_error.mp3
    - assets/sounds/server_error.mp3

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages