netify 2.0.0
netify: ^2.0.0 copied to clipboard
A lightweight, debug-only network inspector for Flutter apps using Dio HTTP client. Features a modern UI, request grouping, favorites, dark mode, and share as image.
2.0.0 #
π Major Release - Native Implementation #
Package is now ~380KB lighter!
Breaking Changes #
- Replaced
share_plus,path_provider, andpackage_info_pluswith native Android/iOS code - These dependencies are no longer required
- All functionality remains the same, just lighter and faster
Added #
- Native Android implementation using Kotlin
- Native iOS implementation using Swift
- Platform channel for cross-platform communication
- Automatic floating bubble overlay - no wrapper needed!
- Added
Netify.navigatorKeyfor automatic bubble display - Added
enableparameter toNetify.init()for easier control
Changed #
- Moved
showOnlyInDebugfromNetifyConfigtoenableparameter ininit() - Removed
NetifyWrapper- no longer needed - Reduced package size by ~380KB (~38% reduction)
Removed #
- β
share_plusdependency - β
path_providerdependency - β
package_info_plusdependency
Migration Guide #
No code changes needed! Just update to 2.0.0 and enjoy the lighter package.
void main() async {
WidgetsFlutterBinding.ensureInitialized();
final dio = Dio();
await Netify.init(dio: dio, enable: kDebugMode);
runApp(const MyApp());
}
MaterialApp(
navigatorKey: Netify.navigatorKey, // β Required for bubble
home: HomePage(),
)
1.0.4 #
Added #
- Automatic floating bubble overlay - no wrapper needed!
- Added
Netify.navigatorKeyfor automatic bubble display - Added
enableparameter toNetify.init()for easier control - Bubble appears automatically after
Netify.init()
Changed #
- Moved
showOnlyInDebugfromNetifyConfigtoenableparameter ininit() - Removed
NetifyWrapper- no longer needed
1.0.3 #
1.0.2 #
Fixed #
- Fixed flutter_lints SDK compatibility issue
- Fixed code formatting issues for pub.flutter-io.cn scoring
Updated #
- Updated dependencies to latest versions:
- dio: ^5.9.0
- share_plus: ^12.0.1
- package_info_plus: ^9.0.0
- Added explicit Android/iOS platform support
- Added dartdoc comments to public API (20%+ coverage
1.0.0 #
Features #
- π‘ Network inspection via Dio interceptor
- π«§ Draggable floating bubble with request count badge
- π Dark mode support with theme toggle
- π Request grouping by domain
- β Favorites/bookmarks for important requests
- πΈ Share request details as image
- π Search and filter by status, method, URL
- π€ Export as JSON or HAR format
- π cURL generation for any request
- π Replay requests
- π Detailed metrics (time, size, duration)
- πͺΆ Lightweight
Architecture #
- Clean architecture implementation
- Zero footprint in release builds
- In-memory only storage (no disk persistence)
