flocon_crash_reporter 0.0.1
flocon_crash_reporter: ^0.0.1 copied to clipboard
Crash reporter plugin for Flocon, sends the errors of your Flutter app to the Flocon desktop debugger.
example/main.dart
import 'package:flocon/flocon.dart';
import 'package:flocon_crash_reporter/flocon_crash_reporter.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
// hooks FlutterError.onError and PlatformDispatcher.instance.onError
if (kDebugMode) await startFlocon((flocon) => flocon..install(const FloconCrashReporter()));
}