pubspec.yaml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. name: native_vision
  2. description: A new Flutter plugin project.
  3. version: 0.0.1
  4. homepage:
  5. environment:
  6. sdk: ">=2.17.3 <3.0.0"
  7. flutter: ">=2.5.0"
  8. dependencies:
  9. flutter:
  10. sdk: flutter
  11. plugin_platform_interface: ^2.0.2
  12. # camera: ^0.10.0+1
  13. camera:
  14. git:
  15. url: https://gitee.com/253861581/camera.git
  16. ref: dccba9e # branch name
  17. ffi: ^2.0.1
  18. image: ^3.0.4
  19. path_provider: ^2.0.11
  20. image_size_getter: ^2.1.2
  21. focus_detector: ^2.0.1
  22. dev_dependencies:
  23. flutter_test:
  24. sdk: flutter
  25. flutter_lints: ^2.0.0
  26. # For information on the generic Dart part of this file, see the
  27. # following page: https://dart.dev/tools/pub/pubspec
  28. # The following section is specific to Flutter packages.
  29. flutter:
  30. # This section identifies this Flutter project as a plugin project.
  31. # The 'pluginClass' specifies the class (in Java, Kotlin, Swift, Objective-C, etc.)
  32. # which should be registered in the plugin registry. This is required for
  33. # using method channels.
  34. # The Android 'package' specifies package in which the registered class is.
  35. # This is required for using method channels on Android.
  36. # The 'ffiPlugin' specifies that native code should be built and bundled.
  37. # This is required for using `dart:ffi`.
  38. # All these are used by the tooling to maintain consistency when
  39. # adding or updating assets for this project.
  40. plugin:
  41. platforms:
  42. android:
  43. package: com.example.native_vision
  44. pluginClass: NativeVisionPlugin
  45. ios:
  46. pluginClass: NativeVisionPlugin
  47. # To add assets to your plugin package, add an assets section, like this:
  48. assets:
  49. - packages/native_vision/assets/doc_model_20220802.tflite
  50. - packages/native_vision/assets/corner_model_20220802.tflite
  51. - packages/native_vision/assets/ssim_0.85_psnr_22.12_model_4.tflite
  52. #
  53. # For details regarding assets in packages, see
  54. # https://flutter.dev/assets-and-images/#from-packages
  55. #
  56. # An image asset can refer to one or more resolution-specific "variants", see
  57. # https://flutter.dev/assets-and-images/#resolution-aware
  58. # To add custom fonts to your plugin package, add a fonts section here,
  59. # in this "flutter" section. Each entry in this list should have a
  60. # "family" key with the font family name, and a "fonts" key with a
  61. # list giving the asset and other descriptors for the font. For
  62. # example:
  63. # fonts:
  64. # - family: Schyler
  65. # fonts:
  66. # - asset: fonts/Schyler-Regular.ttf
  67. # - asset: fonts/Schyler-Italic.ttf
  68. # style: italic
  69. # - family: Trajan Pro
  70. # fonts:
  71. # - asset: fonts/TrajanPro.ttf
  72. # - asset: fonts/TrajanPro_Bold.ttf
  73. # weight: 700
  74. #
  75. # For details regarding fonts in packages, see
  76. # https://flutter.dev/custom-fonts/#from-packages