FLUTTER ECOSYSTEM

smartbackme/flutter_interceptor

flutter dio 拦截器

flutter_interceptor 專案封面
Stars
99
Forks
2
最近推送(UTC)
2021年12月10日
專案狀態
未封存
zhonghua GitHub avatar
GITHUB User

zhonghua ↗

zkhyeduBeiJing官方網站 ↗
語言Dart

此儲存庫發佈的套件

使用的依賴

依賴清單 3 項
  • flutter{"sdk":"flutter"}
  • dio^4.0.0
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

flutter_interceptor

flutter dio interceptor

Getting Started

dependencies:
  flutter_interceptor: ^0.0.2

dio add interceptor

_dio.interceptors.add(UiNetInterceptor())

Page insert floating form

Overlay.of(context)?.insert(InterceptorDraggable());

local


InterceptorLocalizations.delegate

Function introduction:

  1. Request visualization

  2. You can copy the requested content

The effect after integration is shown in the figure

https://raw.githubusercontent.com/smartbackme/flutter_interceptor/HEAD/art/1.jpg

https://raw.githubusercontent.com/smartbackme/flutter_interceptor/HEAD/art/2.jpg

https://raw.githubusercontent.com/smartbackme/flutter_interceptor/HEAD/art/3.jpg

https://raw.githubusercontent.com/smartbackme/flutter_interceptor/HEAD/art/4.jpg

https://raw.githubusercontent.com/smartbackme/flutter_interceptor/HEAD/art/5.jpg