status_protocol 1.0.0
status_protocol: ^1.0.0 copied to clipboard
A plug-and-play Flutter package for handling HTTP status code UI states with SVG illustrations, messages, and action buttons.
1.0.0 #
- Initial release.
StatusScreen— full-page error widget for any HTTP status code.StatusBanner— compact inline banner for in-screen errors.- SVG illustrations with
flutter_svgand icon fallback. StatusProtocolProvider/StatusProtocolThemefor global theming.- Built-in configs for 13 HTTP error codes + no-internet + unknown fallback.
- Customizable title, message, button label, colors, SVG asset, and button.
- Range-based fallback: unknown 4xx → generic client error, 5xx → server error.
- Works with any state management (BLoC, Riverpod, Provider, GetX).