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:streaks_flutter/challenges_flutter.dart';
Add the Streaks Ui
widget to the plugins list.
return NudgeProvider(
nudgeInstance: nudge,
plugins: const [
StreaksUi(
)
]
,
...