analytics_debugger 1.0.1 copy "analytics_debugger: ^1.0.1" to clipboard
analytics_debugger: ^1.0.1 copied to clipboard

A tools to debugging your logger represented with user interface

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:analytics_debugger/analytics_debugger.dart';

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Analytics Debugger'),
        ),
        body: ListView(
          children: [
            ListTile(
              title: const Text('Show'),
              onTap: () => AnalyticsDebugger.show(
                isSystemWide: false,
                mode: DebuggerMode.bubble,
              ),
            ),
            ListTile(
              title: const Text('Hide'),
              onTap: () => AnalyticsDebugger.hide(),
            ),
            ListTile(
              title: const Text('Send'),
              onTap: () => AnalyticsDebugger.send(
                name: 'Test',
                values: {
                  'no': 1,
                  'name': 'Chandra',
                  'height': 50.6,
                  'gender': true,
                },
              ),
            ),
          ],
        ),
      ),
    );
  }
}
5
likes
140
pub points
44%
popularity

Publisher

verified publishersolusibejo.com

A tools to debugging your logger represented with user interface

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on analytics_debugger