Skip to main content
Version: 1.0.0

Scratch Cards

To integrate Nudge Scratch Cards UI into Flutter, you need to make sure that the basic integration of the Nudge Core SDK is done, if you have not already done it, check here.

 scratchCardUi = NudgeScratchCardUI('YOUR_TOKEN_HERE');

Once you have integrated the Nudge Code SDK, just add the above-defined variable into the list inplugins property of NudgeProvider

..
..
NudgeProvider(
app: nudge,
plugins: [
scratchCardUi,
]

)
..
..

That's it!

Our Nudge Core would now trigger Surveys defined on your Dashboard using the scratchCardUI plugin.