FLUTTER ECOSYSTEM

smartbackme/flutter_interceptor

interceptor do flutter dio

Capa do projeto flutter_interceptor
Stars
99
Forks
2
Último push (UTC)
10 de dez. de 2021
Status do projeto
Ativo
zhonghua GitHub avatar
GITHUB User

zhonghua ↗

zkhyeduBeiJingSite oficial ↗
LinguagensDart

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • flutter{"sdk":"flutter"}
  • dio^4.0.0
  • flutter_testDesenvolvimento{"sdk":"flutter"}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher 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