name: paperless_mobile
description:
  Application to conveniently scan and share documents with a paperless-ng
  server.

# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# 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: 1.0.3

environment:
  sdk: ">=2.17.0 <3.0.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  get_it: ^7.2.0
  injectable: ^1.5.3
  encrypted_shared_preferences: ^3.0.0
  permission_handler: ^9.2.0
  pdf: ^3.8.1
  pdfx: ^2.3.0
  edge_detection:
    git:
      url: https://github.com/sawankumarbundelkhandi/edge_detection
      ref: master
  path_provider: ^2.0.10
  image: ^3.1.3
  photo_view: ^0.14.0
  intl: ^0.17.0
  flutter_svg: ^1.0.3
  url_launcher: ^6.1.2
  file_picker: ^3.0.4
  web_socket_channel: ^2.2.0
  http: ^0.13.4
  http_interceptor: ^2.0.0-beta.5
  flutter_cache_manager: ^3.3.0
  cached_network_image: ^3.2.1
  shimmer: ^2.0.0
  flutter_bloc: ^8.1.1
  equatable: ^2.0.3
  flutter_form_builder: ^7.5.0
  form_builder_extra_fields:
    git: 
      url: https://github.com/flutter-form-builder-ecosystem/form_builder_extra_fields.git
      ref: main
  form_builder_validators: ^8.3.0
  infinite_scroll_pagination: ^3.2.0
  flutter_chips_input: ^2.0.0
  sliding_up_panel: ^2.0.0+1
  package_info_plus: ^1.4.3+1
  font_awesome_flutter: ^10.1.0
  badges: ^2.0.3
  local_auth: ^2.1.2
  connectivity_plus: ^2.3.9

  flutter_native_splash: ^2.2.11
  share_plus: ^6.2.0
  introduction_screen: ^3.0.2
  mime: ^1.0.2
  receive_sharing_intent: ^1.4.5
  uuid: ^3.0.6

dev_dependencies:
  integration_test:
    sdk: flutter
  flutter_test:
    sdk: flutter
  build_runner: ^2.1.11
  injectable_generator: ^1.5.3
  mockito: ^5.3.2
  bloc_test: ^9.1.0
  dependency_validator: ^3.0.0
  intl_utils: ^2.7.0
  flutter_lints: ^1.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
  generate: true
  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  assets:
    - assets/logos/
    - assets/images/
    - test/fixtures/
    - test/fixtures/documents/
    - test/fixtures/correspondents/
    - test/fixtures/tags/
    - test/fixtures/preview/
    - test/fixtures/document_types/
  # 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
flutter_intl:
  enabled: true

flutter_native_splash:
  image: assets/logos/paperless_logo_green.png
  color: "#f9f9f9"

  image_dark: assets/logos/paperless_logo_white.png
  color_dark: "#181818"
