A custom ViewNode maps a Doric JavaScript view to a native platform view.
Steps
- Declare the JavaScript view class and properties.
- Implement native ViewNode classes.
- Register them through
DoricLibrary. - Keep JS view type and native registration name consistent.