FlutterAPI reference
Errors
Errors in the Flutter SDK.
import 'package:nexus_flutter/nexus.dart';NexusErrors
classError & crash monitoring. Once installed, it reports every uncaught
error automatically — Flutter framework errors, uncaught async (Dart) errors,
and native crashes (Java/Kotlin, Swift/ObjC, background code). Native crashes
are persisted by the native SDK and forwarded on the next launch. Manual
capture is still available for handled errors.
capture()
methodFuture<void> capture(Object error, [StackTrace? stack, Map<String, Object?>? extra])Report an error. handled = false marks an uncaught crash.
Parameters
Prop
Type
install()
methodvoid install()Install global handlers so all uncaught errors are reported, and drain any native crashes persisted from a previous run.
View source