# sm_network

| [English](README.md) | [简体中文](README.zh.md) |
| ------------------------------- | ----------------------- |

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] <span style="color: lightgreen;">Supports Dio network requests</span>
- [x] <span style="color: lightgreen;">Supports JSON parsing</span>
- [x] <span style="color: lightgreen;">Supports printing logs to the console</span>
- [x] <span style="color: lightgreen;">Supports printing error information to the console</span>
- [x] <span style="color: #A9A9A9;">Initial configuration</span>
- [ ] <span style="color: #A9A9A9;">Supports log writing to file cache</span>

## Installing

Depend on it

Run this command:

With Dart:

``` shell
dart pub add sm_network
```

With Flutter:

``` shell
flutter pub add sm_network
```

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

``` yaml
dependencies:
  sm_network: ^0.0.9
```

## Usage

``` dart
Supplementing...
```
