Stackwarden for Flutter
Official Flutter SDK for Stackwarden — self-hostable error monitoring with issues, traces, logs, and metrics.
Requires Dart 3.3+ and Flutter 3.16+.
v1 scope: Dart / Flutter-layer errors only (no native crash / secondary isolate coverage yet).
Install
dependencies:
stackwarden: ^0.1.1
flutter pub add stackwarden
Wire unhandled Flutter errors in main():
import 'package:stackwarden/stackwarden.dart';
Future<void> main() async {
await Integration.runApp(
() => const MyApp(),
options: Options.fromMap({
'dsn': const String.fromEnvironment(
'STACKWARDEN_DSN',
defaultValue: 'http://sw_YOUR_PROJECT_KEY@127.0.0.1:8001',
),
}),
);
}
Docs
| Doc | What |
|---|---|
| installation.md | Error wiring, Docker DSN, verify |
| configuration.md | Options, Explore signals, transport |
| usage.md | Manual capture, scope, traces, logs |
See CONTRIBUTING.md for development.
License
MIT — see LICENSE.
Libraries
- stackwarden
- Official Flutter SDK for Stackwarden.