Skip to main content
Version: 1.0.0

Embedding a Widget

You can embed a Nudge widget in your application. This widget can then be populated with UI that you create on the Nudge Dashboard.

Import


import 'package:nudgecore_v2/core/nudge_app_component.dart';

Adding a widget

Now you can add the NudgeAppComponent, the id is how you will locate this widget in the dashboard.


NudgeAppComponent(id: "banner_test"),