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

Shared contracts for the portable Flutter mini-program platform.

mini_program_contracts #

Shared contracts for the portable Flutter mini-program platform.

This package holds the stable language shared by mini-program authoring, backend delivery, host apps, and runtime/tooling packages.

What it exports #

  • manifest models and cache policy types
  • capability enums
  • stable action names
  • typed action payload models
  • host action request/result envelopes
  • mini-program screen navigation payloads
  • SDK semver compatibility helpers
  • stable error codes and feature flag keys

Who should depend on it #

  • runtime and tooling packages that need to read or validate mini-program manifests
  • backend packages that serve or validate contract data
  • host apps that implement typed bridge payloads

Most application code should depend on a higher-level package such as the SDK or tooling package. Depend on mini_program_contracts directly when you need the shared wire-level types and constants.

0
likes
150
points
107
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shared contracts for the portable Flutter mini-program platform.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

freezed_annotation, json_annotation, pub_semver

More

Packages that depend on mini_program_contracts