rollbar-flutter-aio

This plugin was refactored into a single plugin, as the current rollbar is no longer supported by the team. I dont have much time to maintain this, feel free to make PR's and I can trigger new versions.

Flutter notifier for reporting exceptions, errors and log messages to Rollbar.

Usage

A simple usage example:

import 'package:flutter/services.dart';
import 'package:rollbar_flutter_aio/rollbar.dart';

Future<void> main() async {
  const config = Config(
    accessToken: 'YOUR-ROLLBAR-ACCESSTOKEN',
    package: 'rollbar_flutter_example',
  );

  await RollbarFlutter.run(config, () => runApp(const MyApp()));
}

With this setup, rollbar-flutter will automatically catch and report any unhandled errors in your application.

You can also explicitly report errors or messages to Rollbar:

await Rollbar.info('Nothing out of the ordinary so far...');

See the example directory for a complete example.

Compatibility

  • Flutter 3: version 3.0.0 and above

Logging version-specific issues, even outside of the supported versions, is welcome and they will be fixed whenever possible.

Platform Support

  • Android: Yes
  • iOS: Yes
  • Web: No
  • Windows: No
  • macOS: No
  • Linux: No

Additional platforms will be prioritized based on feedback from users.

Documentation

For complete usage instructions and configuration reference, see our rollbar-flutter SDK docs.

Release History & Changelog

See our Releases page for a list of all releases and changes.

Help / Support

If you run into any issues, please email us at support@rollbar.com.

For bug reports, please open an issue on GitHub.

License

rollbar-flutter is free software released under the MIT License. See LICENSE for details.

Libraries

common/rollbar_common
common/src/data/payload_record
common/src/extension/collection
common/src/extension/database
common/src/extension/date_time
common/src/extension/environment
common/src/extension/function
A collection of combinators and pure functions.
common/src/extension/math
common/src/extension/mirror
common/src/extension/object
common/src/extension/string
common/src/http
common/src/identifiable
common/src/level
common/src/persistable
common/src/result
common/src/serializable
common/src/table_set
common/src/tuple
common/src/zipped
rollbar
rollbar_dart/rollbar
rollbar_dart/rollbar_dart
rollbar_dart/src/data/config
rollbar_dart/src/data/context
rollbar_dart/src/data/event
rollbar_dart/src/data/payload/body
rollbar_dart/src/data/payload/client
rollbar_dart/src/data/payload/data
rollbar_dart/src/data/payload/exception_info
rollbar_dart/src/data/payload/frame
rollbar_dart/src/data/payload/payload
rollbar_dart/src/data/payload/user
rollbar_dart/src/data/response
rollbar_dart/src/marshaller/data_marshaller
rollbar_dart/src/marshaller/marshaller
rollbar_dart/src/notifier/core_notifier
rollbar_dart/src/notifier/notifier
rollbar_dart/src/persistence
rollbar_dart/src/rollbar
rollbar_dart/src/sandbox/async_sandbox
rollbar_dart/src/sandbox/isolated_sandbox
rollbar_dart/src/sandbox/sandbox
rollbar_dart/src/sender/http_sender
rollbar_dart/src/sender/persistent_http_sender
rollbar_dart/src/sender/sender
rollbar_dart/src/stacktrace
rollbar_dart/src/telemetry
rollbar_dart/src/transformer/noop_transformer
rollbar_dart/src/transformer/transformer
rollbar_flutter