intellign_growth 0.2.1
intellign_growth: ^0.2.1 copied to clipboard
Official Intellign Growth client SDK for Dart and Flutter apps — send meaningful product and business signals to Growth.
example/main.dart
import 'package:intellign_growth/intellign_growth.dart';
Future<void> main() async {
final growth = Growth(
clientKey: 'ig_ck_live_REPLACE_ME',
appId: 'com.example.growthdemo',
);
try {
await growth.track('product_view', properties: {
'product': 'Studio Lamp',
'value': 79,
});
await growth.track('add_to_cart', properties: {
'product': 'Studio Lamp',
'value': 79,
});
growth.identify('demo_customer_123');
await growth.track('signup', properties: {'method': 'email'});
await growth.track('purchase', properties: {
'product': 'Studio Lamp',
'value': 79,
'currency': 'USD',
});
} finally {
growth.close();
}
}