cfug / dio

A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.
https://dio.pub
MIT License
12.46k stars 1.51k forks source link

Documentation: Transformer example link broken #2298

Open eggzotic opened 2 weeks ago

eggzotic commented 2 weeks ago

Package

dio

Version

5.7.0

Operating-System

Web

Adapter

Default Dio

Output of flutter doctor -v

No response

Dart Version

No response

Steps to Reproduce

Documentation at https://pub.dev/packages/dio#transformer refers to broken link https://github.com/cfug/dio/blob/main/example/lib/transformer.dart which should now be https://github.com/cfug/dio/blob/main/example_dart/lib/transformer.dart, I believe.

Expected Result

https://github.com/cfug/dio/blob/main/example_dart/lib/transformer.dart (works)

Actual Result

https://github.com/cfug/dio/blob/main/example/lib/transformer.dart (broken)

AlexV525 commented 4 days ago

@eggzotic Would you like to submit a quick fix for it?