dd_check_plugin 3.0.7 copy "dd_check_plugin: ^3.0.7" to clipboard
dd_check_plugin: ^3.0.7 copied to clipboard

A flutter plugin for idea to listen to network requests

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;
    },
  );
}

接入完成.