Remote Flutter Widgets: render declarative widget descriptions at runtime
open sourceBSD-3-Clausefree
rfw (Remote Flutter Widgets) is a Flutter package from the Flutter team for rendering widgets from declarative UI descriptions loaded at runtime, so an app can show UIs that weren't known when it shipped. Descriptions are written in a text format or a compact binary one and combined with data from the app; the widgets they use come from libraries the app registers, including Flutter's own widgets and Material. It suits interfaces built from prebuilt components, such as rich search result cards, announcements or bespoke editing forms, rather than a whole app. It is BSD-3-Clause licensed and published on pub.dev by flutter.dev.
Problems it solves
- change parts of a Flutter app UI from the server without an app store release
- show server-defined result cards in a Flutter app
- build server-driven UI in Flutter
Features
- Render widget descriptions loaded at runtime
- Text and binary description formats
- Bind descriptions to app data and events
- Registers Flutter core and Material widget libraries
Limitations
- It can't define new widgets with custom gestures, animations, page transitions or custom painting; it only arranges widgets the app already ships.1
