netify_core 3.0.0 copy "netify_core: ^3.0.0" to clipboard
netify_core: ^3.0.0 copied to clipboard

Core network inspection functionality for Flutter. Client-agnostic foundation for Netify adapters.

Changelog #

3.0.0 - 2025-12-23 #

🎉 Major Release - Multi-Client Architecture #

This release introduces a completely new architecture that separates core functionality from HTTP client-specific implementations.

Breaking Changes

  • Core functionality extracted into standalone netify_core package
  • No longer includes HTTP client implementations
  • Must be used with an adapter package (netify_dio, netify_http, etc.)

New Features

  • Client-Agnostic Core - No HTTP client dependencies
  • NetifyAdapter Base Class - Foundation for all adapters
  • NetifyInterface - Standardized interface for UI access
  • RxDart Integration - Real-time streams with BehaviorSubject
  • Callbacks System - Integration hooks for monitoring services
    • NetifyCallbacks class with onRequest, onResponse, onError, onSlowRequest
  • Smart Filters - Control what gets captured
    • NetifyFilters class with status codes, slow requests, ignore patterns
  • Complete UI Components
    • NetifyPanel - Main inspection panel
    • LogDetailPage - Detailed log viewer
    • InsightsPage - Analytics page
    • NetifyBubble - Floating bubble widget
    • All supporting widgets (badges, cards, viewers, etc.)
  • Repository Pattern - Clean data management
    • LogRepository interface
    • LogRepositoryImpl with RxDart streams
  • Universal NetworkLog - Works with any HTTP client

Architecture

The new architecture follows a modular design:

netify_core (this package)
    ↓
netify_dio, netify_http, netify_graphql, etc.
    ↓
Your App

Dependencies

  • flutter - Flutter SDK
  • screenshot: ^2.1.0 - For share as image functionality
  • rxdart: ^0.27.0 - For real-time streams

No HTTP client dependencies

Usage

This package is not meant to be used directly. Instead, use one of the adapter packages:

// For Dio
import 'package:netify_dio/netify_dio.dart';
await NetifyDio.init(dio: dio);

// For HTTP
import 'package:netify_http/netify_http.dart';
await NetifyHttp.init(client: client);

Benefits

  1. Zero Dependency Bloat - Users only install the HTTP client they use
  2. Easy to Extend - Add new HTTP clients by creating adapters
  3. Backward Compatible - Adapters maintain similar API to v2.x
  4. Type-Safe - Each adapter handles client-specific types
  5. Maintainable - Core logic separated from client-specific code

Notes

  • Compatible with Flutter 3.0.0+
  • Dart SDK 3.0.0+
  • Requires an adapter package to function
1
likes
0
points
208
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Core network inspection functionality for Flutter. Client-agnostic foundation for Netify adapters.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, rxdart, screenshot

More

Packages that depend on netify_core