error_stack 1.6.0 copy "error_stack: ^1.6.0" to clipboard
error_stack: ^1.6.0 copied to clipboard

ErrorStack helps you swiftly deal with errors in your Flutter applications! Custom error handling UI and logging to keep you productive.

example/main.dart

import 'package:error_stack/error_stack.dart';
import 'package:flutter/material.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  ErrorStack.init();
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'ErrorStack',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  dynamic data;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Text(data),
      ),
    );
  }
}
20
likes
0
pub points
67%
popularity

Publisher

verified publishernylo.dev

ErrorStack helps you swiftly deal with errors in your Flutter applications! Custom error handling UI and logging to keep you productive.

Homepage
Repository (GitHub)
View/report issues

Topics

#error-handling #error-ui #logging #custom-error

Documentation

Documentation

Funding

Consider supporting this project:

github.com

License

unknown (LICENSE)

Dependencies

flutter, flutter_secure_storage, url_launcher

More

Packages that depend on error_stack