flutter_capture_vision_platform_interface 0.1.0 copy "flutter_capture_vision_platform_interface: ^0.1.0" to clipboard
flutter_capture_vision_platform_interface: ^0.1.0 copied to clipboard

Common platform interface, typed contracts, and versioned channel protocol for the flutter_capture_vision federated plugin.

flutter_capture_vision_platform_interface #

Common platform interface, value types, and versioned channel contract for the flutter_capture_vision federated plugin.

End users should depend on flutter_capture_vision instead of this package. This package exists for platform implementers and for the pure Dart contracts:

  • Value types: VisionTask, VisionImageBuffer, VisionPixelFormat, VisionRotation, VisionPoint, VisionQuadrilateral.
  • Requests: CaptureVisionRequest.forTasks / CaptureVisionRequest.namedTemplate (mutually exclusive).
  • Results: CaptureVisionResult, BarcodeResult, MrzResult, DocumentDetectionResult — always typed lists, never null.
  • Templates: CaptureVisionTemplate.parseAll(settingsJson) extracts CaptureVisionTemplates[].Name with order and case preserved, rejecting missing, blank, non-string, or duplicate names.
  • Errors: CaptureVisionException(code, message, cause).
  • Platform contract: CaptureVisionPlatform (all operations are Future-based) and the reference MethodChannelCaptureVision used by the native implementations.

See example/ for a runnable tour of the contracts without any native SDK.

1
likes
160
points
71
downloads

Documentation

API reference

Publisher

verified publisheryushulx.me

Weekly Downloads

Common platform interface, typed contracts, and versioned channel protocol for the flutter_capture_vision federated plugin.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_capture_vision_platform_interface