API Reference

To integrate Spin the wheel into your Flutter application, 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.

Install our Spin the wheel SDK from here

 const spinnerUi = SpinnerUi();

Once you have integrated the Nudge Code SDK, just add the above-defined variable to the list in theplugins property of NudgeProvider

.. 
..
NudgeProvider(
      app: nudge,
   		plugins: const [
   			spinnerUi,
   		]
 ..
 ..

That's it!

Our Nudge Core would now trigger Spin the wheel defined on your Dashboard using the SpinnerUi plugin.