passkit 0.0.12 passkit: ^0.0.12 copied to clipboard
Pure Dart library which can create and read Apple's PkPass files (which are usually shown in Apple Wallet). Works on servers and in apps.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add passkit
With Flutter:
$ flutter pub add passkit
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
passkit: ^0.0.12
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:passkit/passkit.dart';