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