Insert Single Pages from Digia Studio
Last updated
Last updated
In your main.dart
, initialize the DigiaUIClient like this instead of DUIApp.
The params are similar to DUIApp, defined . Also initialize the DUIFactory by calling its intialize method.
This will initialize the DigiaUIClient and DUIFactory. Now to create Pages, we can use DUIFactory's methods:
The createPage method takes 2 parameters:
pageId
type : string
required : true
This is the name of your Page that you can get from Digia Studio.
pageArgs
type: Map<String, Object?>?
required: true
This is the Map of Page Parameters that you can pass from your App to Digia's Page.