FLUTTER ECOSYSTEM

smartbackme/flutter_interceptor

flutter dio interceptor

flutter_interceptor project cover
Stars
99
Forks
2
Last push (UTC)
Dec 10, 2021
Project status
Active
zhonghua GitHub avatar
GITHUB User

zhonghua ↗

zkhyeduBeiJingOfficial website ↗
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 3 items
  • flutter{"sdk":"flutter"}
  • dio^4.0.0
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project 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