Skip to main content
Version: 1.0.0

Streaks

Overview

To integrate Nudge Streak 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.

Streaks SDK is a private SDK and is not hosted on pub.dev. Contact the Nudge team to get the hosting URL of the Streaks SDK and the pubspec.yamldefinitions.

 streakUI = StreakUI();

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: [
streakUI,
]
..
..

That's it!

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