Challenges SDK for Flutter
This package provides the entire SDK for the Challenges platform for Flutter.
Usage
To use this package, add challenges_flutter
as
a dependency in your pubspec.yaml file.
dependencies:
challenges_flutter: {{version}}
In the Dart code, import the library.
import 'package:challenges_flutter/challenges_flutter.dart';
dd
Add the ChallengesUi
widget to the plugins list.
return NudgeProvider(
nudgeInstance: nudge,
plugins: const [
ChallengesUi(
)
]
,
...