Skip to main content

Flutter component development

One of the main advantages of wyStack is that it allows you to add custom Flutter components written in Dart. Let's create a custom Flutter component.

👉 Choose User interfaces in the main menu.
Select the Flutter User Interface. Select the RELATED tab.
Choose COMPONENTS on the left.

Adding a new Flutter component

Create a new Flutter component and choose a name. We will use HelloWorldComponent.

Apply the component name to source-code in the COMPONENT tab.

⚠️ Important: your component name should always end with Component. The class name of the component always needs to start with: WyCustomComponent_....

In our example the only correct class name for this component is: WyCustomComponent_HelloWorldComponent