custom_error_page 0.0.6 custom_error_page: ^0.0.6 copied to clipboard
A flutter plugin for custom error screens.
Custom Error Page #
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 #
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 !