library_registration library
Library registration entry point for restage.material — exposes a
LocalWidgetLibrary that the SDK runtime registers with rfw at startup.
The runtime calls buildMaterialWidgetLibrary once per process, then
hands the result to Runtime.update(LibraryName(['restage', 'material']), library). Re-registering with a fresh build replaces the prior library
— useful for hot-reload in the editor.
Functions
-
buildMaterialWidgetLibrary(
) → LocalWidgetLibrary -
Builds a
LocalWidgetLibraryfor therestage.materialnamespace.