/dd_check_plugin

idea 检测dio请求插件

Primary LanguageDartBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

dd_check_plugin

需要搭配Idea插件食用 https://plugins.jetbrains.com/plugin/18986-fluttercheckversionx

安装

dd_check_plugin: any

初始化

/// Dio() 换成你的自己的dio实例
DdCheckPlugin().init(Dio());

example

void connecnt(){
  await DdCheckPlugin().init(
    BaseApi.getDio(),
    initHost: '192.168.0.1', // Change to your computer IP 
    port: 9999, // Modify the listening port to, default to 9999
    projectName: "Project", // Custom Project Name
    conectSuccess: (Socket value) {
      socket = value;
    },
  );
}

接入完成.