Custom logic code
Utility nodes
Last updated
Utility nodes
Last updated
Released in version:
1.0.13
Flutter/Dart link:
N/A
The "Custom logic code" node is a utility node that allows you to add your own code at a particular place in your project. It is extremely useful for adding functionality not yet implemented in Waoo App Builder nodes.
This particular node does not have a Flutter library counterpart since you are free to add whatever code you wish in this field. Therefore, please note that your code will not be sanitized or checked by Waoo App Builder. It will be directly added to the place indicated by you in the code
Imports assigned in this node are added to a Set that avoids duplications per file. This means that if you have two nodes with the same imports, it will be translated in the generated code to a single result.
Try not to overuse this node. The code you enter here will not have any connection with the rest of the nodes and therefore it will be more difficult to maintain your project in the future.
Inputs
connector
Flow
Allows to continue the flow in this node
customCode
String
Custom code to add
imports
String
Imports needed for this code to work correctly
Outputs
connector
Flow
The flow can continue through this output