craftd_widget 1.0.2
craftd_widget: ^1.0.2 copied to clipboard
A Server Driven UI library provided by CodandoTV.
🧑💻 How to use? #
You can use the existing components or create your own components, more details you can check in our documentation web site.
Existing Components #
You can check the existing components CraftD already has here.
Create your own component #
- Create your ComponentPropertyClass with properties that you need
class ButtonProperties {
const ButtonProperties({
required this.text,
... place your construtor properties
});
final String text;
... place your properties
}
- Add your Component json object in Dymanic.json
{
"key": "CraftDBbutton",
"value": {
"text": "Knife",
... place your properties
}
}