Register custom widgets allows to manage content of Custom widget in App builder
Example
Requirement
- Cirilla
v3.9.0
or above
Install widget
Open file: cirilla/lib/register_custom_widgets.dart
Add the code snippets to the registerCustomWidgets function:
if (key == "demo") {
return Text("Custom widget demo");
}
Note
Key in this code is key of setting App builder (preview)