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

The official Flutter Package for Telemetric. Gather insights, send events and track your revenue.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:telemetric/telemetric.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Telemetric.init('your_project_id');
  Telemetric.event(
    "Purchase Completed 🎉",
  );
  Telemetric.revenue(9.99);
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Telemetric Example',
      home: MyHomePage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return const Placeholder();
  }
}
2
likes
0
points
311
downloads

Publisher

verified publisheraskrudi.com

Weekly Downloads

The official Flutter Package for Telemetric. Gather insights, send events and track your revenue.

Homepage
Repository (GitHub)
View/report issues

Topics

#api #logging #analytics

License

unknown (license)

Dependencies

flutter, http, package_info_plus, shared_preferences, universal_html

More

Packages that depend on telemetric