zeba_academy_error_explorer 1.0.0
zeba_academy_error_explorer: ^1.0.0 copied to clipboard
Offline error database + stack trace explorer for Flutter apps
π¦ Zeba Academy Error Explorer Offline Flutter Error Intelligence Toolkit π§ Overview
Zeba Academy Error Explorer is a lightweight, offline-first Flutter package designed to help developers understand, search, categorize, and resolve common Flutter errors with structured explanations, stack trace parsing, and built-in solutions.
It acts as a local error knowledge base + debugging assistant UI toolkit.
π Features π Error Intelligence System Preloaded offline error database Categorized error system (State, UI, Network, Firebase, etc.) Structured error descriptions π Smart Search Engine Search errors by title or category Fast local filtering (no API dependency) π§΅ Stack Trace Analyzer Clean stack trace formatting Line-by-line breakdown view π‘ Solution Engine Built-in fix suggestions for each error Developer-friendly actionable steps π Bookmark System Save important errors Quick access to frequently seen issues π§± Architecture
The package follows a clean MV (ModelβView) architecture:
lib/ β βββ models/ # Data structures (AppError, Category) βββ database/ # Offline error dataset βββ repository/ # Data access layer βββ controller/ # Business logic layer βββ ui/ # Screens & widgets βββ utils/ # Stack trace parser π Core Model AppError Structure AppError( id: "1", title: "Null check operator used on a null value", description: "Occurs when '!' is used on null", category: "Null Safety", stackTrace: "...", solutions: [ "Check null before using !", "Use null-aware operators (??)", ], ) βοΈ Installation
Add dependency:
dependencies: zeba_academy_error_explorer: ^1.0.0
Then install:
flutter pub get π₯ Import Package import 'package:zeba_academy_error_explorer/zeba_academy_error_explorer.dart'; π§ Usage Guide 1οΈβ£ Initialize Controller final controller = ErrorController(); controller.loadErrors(); 2οΈβ£ Search Errors controller.search("null safety"); 3οΈβ£ Filter by Category controller.filter("State Management"); 4οΈβ£ Bookmark Error controller.toggleBookmark(error); 5οΈβ£ Open UI Screen Navigator.push( context, MaterialPageRoute( builder: (_) => const ErrorExplorerScreen(), ), ); π₯οΈ UI Screens π Error Explorer Screen Displays full error list Search bar support Bookmark toggle π Error Detail Screen Full error description Stack trace viewer Step-by-step solutions π Bookmark Screen Saved errors list Quick revisit system π Error Categories Null Safety State Management Firebase UI Rendering Network Platform Dart Core Performance π§ͺ Testing
Run tests:
flutter test π Code Analysis flutter analyze π£οΈ Roadmap Riverpod integration Persistent storage (Hive support) Custom JSON error import Global Flutter error interceptor AI-powered fix suggestions engine VS Code extension companion π¨βπ» Author β¨ Sufyan bin Uzayr
Open-source developer focused on building meaningful developer tools.
π Website: https://sufyanism.com πΌ LinkedIn: https://www.linkedin.com/in/sufyanism
π Zeba Academy Ecosystem
Your all-in-one learning hub for coding & development.
π https://zeba.academy π» https://code.zeba.academy πΊ https://www.youtube.com/@zeba.academy πΈ https://www.instagram.com/zeba.academy/ π License
This project is licensed under:
GNU GENERAL PUBLIC LICENSE v3.0 (GPL-3.0)
You are free to:
Use Modify Distribute
But must:
Keep source open Retain license Share modifications under GPL
Full license: https://www.gnu.org/licenses/gpl-3.0.html
β Support
If you like this project:
β Star the repository π Share with developers π§βπ» Contribute improvements