devpul_flutter 0.1.0
devpul_flutter: ^0.1.0 copied to clipboard
Flutter error hooks for DevPul. Sends FlutterError and uncaught platform errors to the DevPul browser UI.
devpul_flutter #
Flutter error hooks for DevPul. Sends FlutterError reports and uncaught platform errors, with stack traces, to the browser UI.
Install #
dependencies:
devpul: ^0.1.0
devpul_flutter: ^0.1.0
Usage #
import 'package:devpul_flutter/devpul_flutter.dart';
void main() {
DevpulFlutter.install();
runApp(const MyApp());
}
Existing FlutterError.onError and PlatformDispatcher.onError handlers keep running, so crash reporters are unaffected.
Limits #
- Debug builds only.
- Flutter web does not call
PlatformDispatcher.onError(flutter#100277). To see uncaught async errors there, wraprunAppinrunZonedGuardedand callDevpul.errorfrom the handler.