cux_analytics_sdk 0.0.5 copy "cux_analytics_sdk: ^0.0.5" to clipboard
cux_analytics_sdk: ^0.0.5 copied to clipboard

This is an analytics SDK from CUX.io

Features #

Gathering analytics about user's interaction with app.

Getting started #

Don't start. It's in progress yet.

Usage #

    void main() {
  print("CuxSDK: main()");
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    print("CuxSDK: MyApp build()");

    CuxAnalytics.init(
        context, '1428112091.0.46456300.1480349278.583c565e0fc5d');
    return AnalyticsWidget(
      child: MaterialApp(
          title: 'Flutter CUX Demo',
          ...
          home: const HomeWidget(),
      navigatorObservers: [
        CuxAnalytics.createNavigationObserver(context, this)
      ],
    ),
    );
  }
}
@override
Widget build(BuildContext context) {
  return MaterialApp.router(
    routerConfig: _router,
    debugShowCheckedModeBanner: false,
    onNavigationNotification:
    RouterNavigationListener(rootWidget: this).onNavigationNotification,
  );
}
import 'package:cux_analytics_sdk/masking_material_widget.dart';

MaskingWidget(
  child: Padding(
  padding: EdgeInsets.all(16.0),
  child: Text('Masked text'),
)),

Additional information #

This is an SDK for Android and iOs Flutter apps

0
likes
100
pub points
36%
popularity

Publisher

unverified uploader

This is an analytics SDK from CUX.io

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, equatable, flutter, image, image_gallery_saver_plus, intl, screenshot, uuid, visibility_detector

More

Packages that depend on cux_analytics_sdk