c2pa_view 0.1.1
c2pa_view: ^0.1.1 copied to clipboard
`c2pa_view` is a Flutter plugin for viewing C2PA manifests in files. It provides a simple interface to extract and display C2PA metadata using the official C2PA Rust library and the Flutter Rust Bridge.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add c2pa_view
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
c2pa_view: ^0.1.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:c2pa_view/c2pa_view.dart';