name: paperless_mobile
description: An (almost) fully fledged mobile paperless-ng*x client.

# 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: 2.3.8+43

environment:
  sdk: ">=3.0.0 <4.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
  permission_handler: ^10.2.0
  pdf: ^3.10.2
  edge_detection:
    git:
      url: https://github.com/sawankumarbundelkhandi/edge_detection
      ref: master
  path_provider: ^2.0.10
  image: ^4.0.17
  photo_view: ^0.14.0
  intl: any #^0.18.0
  flutter_svg: ^1.0.3
  url_launcher: ^6.1.2
  file_picker: ^5.2.4
  web_socket_channel: ^2.2.0
  http: ^1.0.0
  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: ^8.0.0 
  package_info_plus: ^4.0.1
  font_awesome_flutter: ^10.1.0
  local_auth: ^2.1.2
  connectivity_plus: ^4.0.0
  flutter_native_splash: ^2.2.11
  share_plus: ^4.5.3
  introduction_screen: ^3.0.2
  receive_sharing_intent: ^1.4.5
  uuid: ^3.0.6
  flutter_typeahead: ^4.3.3
  fluttertoast: ^8.1.1
  paperless_api:
    path: packages/paperless_api
  hive: ^2.2.3
  rxdart: ^0.27.7
  badges: ^2.0.3
  flutter_colorpicker: ^1.0.3
  provider: ^6.0.5
  dio: ^5.0.0
  hydrated_bloc: ^9.0.0
  json_annotation: ^4.8.1
  pretty_dio_logger: ^1.2.0-beta-1
  collection: ^1.17.0
  device_info_plus: ^8.0.0
  flutter_local_notifications: ^13.0.0
  responsive_builder: ^0.4.3
  open_filex: ^4.3.2
  flutter_displaymode: ^0.5.0
  dynamic_color: ^1.5.4
  flutter_html: ^3.0.0-alpha.6
  freezed_annotation: ^2.2.0
  animations: ^2.0.7
  hive_flutter: ^1.1.0
  flutter_secure_storage: ^8.0.0
  sliver_tools: ^0.2.10
  webview_flutter: ^4.2.1
  printing: ^5.11.0
  flutter_pdfview: ^1.3.1

dependency_overrides:
  intl: ^0.18.0
  graphs: 2.2.0 
  http: ^1.0.0


dev_dependencies:
  integration_test:
    sdk: flutter
  flutter_test:
    sdk: flutter
  build_runner: ^2.4.2
  mockito: ^5.3.2
  bloc_test: ^9.1.0
  dependency_validator: ^3.0.0
  flutter_lints: ^1.0.0
  json_serializable: ^6.5.4
  dart_code_metrics: ^5.4.0
  auto_route_generator: ^5.0.3
  freezed: ^2.3.3
  hive_generator: ^2.0.0
  mock_server:
    path: packages/mock_server

# 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_native_splash:
  image: assets/logos/paperless_logo_green.png
  color: "#f9f9f9"

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