zero_inspector_kit 1.0.1
zero_inspector_kit: ^1.0.1 copied to clipboard
A Flutter plugin for in-app developer console with network request viewing, logging, database inspection, and route tracking.
Changelog #
1.0.1 #
新增功能 / New Features:
- 新增
ZeroInspectorKit.runAppWithInspector()方法,支持一行代码集成- Added
ZeroInspectorKit.runAppWithInspector()method for one-line integration
- Added
- 通过 Zone 捕获所有
print()调用,无需修改现有代码- Capture all
print()calls via Zone without modifying existing code
- Capture all
- HTTP 包请求自动拦截(通过 HttpOverrides),无需手动调用
- Auto-intercept HTTP package requests via HttpOverrides, no manual calls needed
改进 / Improvements:
- 第三方日志库日志统一归类到 INFO 级别
- Third-party log library logs are categorized as INFO level
- 为所有源码文件添加中文注释
- Added Chinese comments to all source files
修复 / Bug Fixes:
- 修复 overlay 相关报错(重复添加、生命周期安全)
- Fixed overlay related errors (duplicate addition, lifecycle safety)
- 修复
InspectorLogInterceptorCallback未定义错误- Fixed undefined
InspectorLogInterceptorCallbackerror
- Fixed undefined
- 移除不存在的
network_interceptor.dart导出- Removed non-existent
network_interceptor.dartexport
- Removed non-existent
1.0.0 #
初始版本 / Initial Release:
- 网络请求查看,支持 Dio 和 http 拦截器
- Network request viewing with Dio and http interceptor support
- 自动捕获 print() 输出和 Flutter 错误
- Auto-capture print() output and Flutter errors
- 第三方日志库集成支持
- Third-party log library integration support
- SQLite 数据库检查(支持 .db 和 .sqlite 文件)
- SQLite database inspection (.db and .sqlite files)
- 路由追踪(Navigator observer)
- Route tracking with Navigator observer
- 生产环境自动禁用(kReleaseMode)
- Production build auto-disable (kReleaseMode)
- 可拖动的悬浮检查器按钮
- Floating inspector button with drag support
- 透明覆盖层背景
- Transparent overlay background
- 数据库查看器带返回导航按钮
- Database viewer with back navigation button
- 支持 ANSI 颜色代码的日志级别检测
- Log level detection with ANSI color code support