Skip to content

Yczar/custom-error-page

Repository files navigation

Custom Error Page

Pub Version

This plugin for Flutter helps replace the red error screen with shown by default when an exception is thrown in a flutter application with a much friendly error screen.

Screen Record

RPReplay_Final1653793955.MP4

Getting Started

Add this to your package's pubspec.yaml file:

dependencies:
  custom_error_page: ^0.0.6

Usage

Then you just have to import the package with

import 'package:custom_error_page/custom_error_page.dart';

In order to intercept your error builder, add the custom error message to your main method.

void main() {
  CustomErrorPage.initialize();
  runApp(const MyApp());
}

Feedback

Please feel free to give me any feedback helping support this plugin !

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages