sm_network

English 简体中文

A Flutter networking library that provides several commonly used features:

  • 📱 Supports Dio network requests
  • 📦 Supports JSON parsing
  • 🎉 Supports printing logs to the console
  • 💥 Supports printing error information to the console
  • (Remaining features are still under development...)

Features

  • x Supports Dio network requests
  • x Supports JSON parsing
  • x Supports printing logs to the console
  • x Supports printing error information to the console
  • Initial configuration
  • Supports log writing to file cache

Installing

Depend on it

Run this command:

With Dart:

dart pub add sm_network

With Flutter:

flutter pub add sm_network

Or add the dependency to your pubspec.yaml file and run dart pub get:

dependencies:
  sm_network: ^0.0.9

Usage

Supplementing...

Libraries

sm_network