async_error_boundary 0.1.0 copy "async_error_boundary: ^0.1.0" to clipboard
async_error_boundary: ^0.1.0 copied to clipboard

Declarative error boundary widget for Flutter inspired by React's Error Boundary. Catch errors thrown by descendants and render fallback UI with reset support.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add async_error_boundary

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  async_error_boundary: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:async_error_boundary/async_error_boundary.dart';
0
likes
160
points
73
downloads

Documentation

API reference

Publisher

verified publisherkyoheig3.jp

Weekly Downloads

Declarative error boundary widget for Flutter inspired by React's Error Boundary. Catch errors thrown by descendants and render fallback UI with reset support.

Repository (GitHub)
View/report issues

Topics

#error-boundary #error-handling #react #declarative

License

BSD-3-Clause (license)

Dependencies

async_zone, flutter

More

Packages that depend on async_error_boundary