cog_offer_and_incentives 0.0.6 copy "cog_offer_and_incentives: ^0.0.6" to clipboard
cog_offer_and_incentives: ^0.0.6 copied to clipboard

A Dart Client for Cog offer and incentives and Click Streams. This is completely written in Dart and works cross-platform.

Cog offer and incentives #

A Dart Client for Cog offer and incentives and Click Streams. This is completely written in Dart and works cross-platform.

Getting Started #

dependencies:
    cog_offer_and_incentives: ^0.0.6

To import cog_offer_and_incentives:

import 'package:cog_offer_and_incentives/cog_offer_and_incentives.dart';

You need to wrap your widget with "CognetryClickStreamWidget" provide widget. and we are expecting a readable key value for child widget

ClickStream(
child: ElevatedButton(
key: Key(Add product?.itemName ?? ""),
onPressed: () async {
}));

Once you wrap the widget with mentioned widget then when click on the widget we send click event to Cognetry server

0
likes
110
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart Client for Cog offer and incentives and Click Streams. This is completely written in Dart and works cross-platform.

Documentation

API reference

License

MIT (license)

Dependencies

device_info, flutter, get, http, package_info_plus

More

Packages that depend on cog_offer_and_incentives