restage_cupertino

pub package ci license

A curated Remote Flutter Widget (RFW) catalog of Cupertino (Apple HIG) widgets for server-driven Flutter UI: the restage.cupertino library (CupertinoButton and CupertinoButtonFilled, navigation/page scaffolding, switches, sliders, pickers, text fields, and more; 16 widgets). Sibling to restage_core and restage_material.

Part of Restage, server-driven UI for Flutter. Extend this catalog with your own design-system widgets via @RestageWidget.

The package provides catalog metadata (lib/registry.dart kRegistry, mirrored to lib/src/widget_catalog/catalog.json) and an RFW LocalWidgetBuilder registration map (lib/src/registration.g.dart); the standard Cupertino widgets are mapped through the catalog. A surface that uses CupertinoButton renders through the restage.cupertino library; it's registered and works.

The catalog is surface-general: the same widgets compose any server-driven UI surface.

Status

1.0.0, stable public release. The wire format is frozen at v1. Cupertino coverage is the smallest of the three catalogs and grows demand-first.

License

BSD-3-Clause. See LICENSE.

Libraries

library_registration
Library registration entry point for restage.cupertino — exposes a LocalWidgetLibrary that the SDK runtime registers with rfw at startup.
registry
registry_curation
Curation file for the restage.cupertino widget library — Cupertino (Apple HIG) widgets curated for paywall composition.
restage_cupertino
Cupertino (Apple HIG) widgets for Restage paywalls. Authoritative metadata lives in registry.dart (kRegistry); the runtime registers its widgets with rfw via library_registration.dart (buildCupertinoWidgetLibrary). Both are read by codegen, the editor, and the SDK runtime.