restage_core 1.0.0 copy "restage_core: ^1.0.0" to clipboard
restage_core: ^1.0.0 copied to clipboard

Cross-platform widget primitives (Container, Column, Row, Text, Image, and more): a curated Remote Flutter Widget (RFW) catalog for server-driven Flutter UI. Widget metadata lives in lib/registry.dart [...]

restage_core #

pub package ci license

A curated Remote Flutter Widget (RFW) catalog of cross-platform widget primitives for server-driven Flutter UI — the restage.core library (layout, structure, and decoration: Container, Column, Row, Stack, SizedBox, Padding, Center, Text, Image, and more — 54 widgets in all).

The package provides:

  • Catalog metadata — the curated widget set + per-widget metadata, authored in lib/registry.dart (kRegistry) and mirrored to lib/src/widget_catalog/catalog.json. The editor reads the registry; the build-time code generator reads the JSON.
  • RFW registrationlib/src/registration.g.dart is a plain rfw LocalWidgetBuilder map that renders the catalog's widgets; any RFW host can use it.
  • A few compiled-in catalog widgets — small composites the package ships as real classes for behavior RFW can't express declaratively: the motion helpers (RestageMotion, RestageFadeIn, RestagePulse, RestageStagger, and the RestageSpring substrate) and the number/price formatters (RestagePrice, RestageFormattedNumber). Standard Flutter widgets (Container, Text, …) are mapped through the catalog, not re-declared here — you author surfaces in ordinary Flutter syntax.

The catalog is surface-general: the same primitives compose paywalls, onboarding, in-app messages, surveys, or any other server-driven UI surface.

Status #

Stable — 1.0.0.

License #

BSD-3-Clause — see LICENSE.

0
likes
0
points
380
downloads

Publisher

verified publisherrestage.dev

Weekly Downloads

Cross-platform widget primitives (Container, Column, Row, Text, Image, and more): a curated Remote Flutter Widget (RFW) catalog for server-driven Flutter UI. Widget metadata lives in lib/registry.dart and is consumed by the editor, the code generator, and the SDK runtime.

Homepage
Repository (GitHub)
View/report issues

Topics

#server-driven-ui #remote-ui #flutter

License

unknown (license)

Dependencies

flutter, intl, restage_shared, rfw, rfw_catalog_schema

More

Packages that depend on restage_core