debug_lens 0.0.1 copy "debug_lens: ^0.0.1" to clipboard
debug_lens: ^0.0.1 copied to clipboard

An on-device debug panel for Flutter: network calls, logs, bloc/navigation events, storage, plus your own crash, analytics and remote-config data.

example/lib/main.dart

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

import 'src/app.dart';
import 'src/core/bootstrap.dart';

void main() => _run();

Future<void> _run() async {
  WidgetsFlutterBinding.ensureInitialized();

  // Master switch — on in every mode here so a release build stays inspectable.
  DebugLens.debugLensEnabled = true;

  await bootstrap();

  // The navigator observer and DebugLens.wrap live in app.dart, on the
  // MaterialApp they actually apply to.
  runApp(const ExampleApp());
}
4
likes
150
points
167
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An on-device debug panel for Flutter: network calls, logs, bloc/navigation events, storage, plus your own crash, analytics and remote-config data.

Repository (GitHub)
View/report issues

Topics

#debugging #devtool #inspector #logging

License

MIT (license)

Dependencies

bloc, connectivity_plus, device_info_plus, dio, flutter, package_info_plus, path_provider, provider, share_plus, shared_preferences

More

Packages that depend on debug_lens