Installation
1
Project's pubspec.yaml changes
Add the following line of code inside dependencies in the
pubspec.yaml
file under the dependencies section2
Run flutter pub get in the terminal
Initialization
Enclose your Material App inside SuprSendProvider and pass the workspace key, workspace secret, distinct_id, and subscriber_id. SuprSend hooks can only be used inside of SuprSendProvider.