{"id":110946,"date":"2026-09-29T20:34:51","date_gmt":"2026-09-29T12:34:51","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/110946.html"},"modified":"2026-09-29T20:34:51","modified_gmt":"2026-09-29T12:34:51","slug":"dart-sdk-%e5%88%86%e6%9e%90%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%8f%92%e4%bb%b6%e5%8c%85%e7%bb%93%e6%9e%84%e5%85%a8%e8%a7%a3%e6%9e%90%ef%bc%9atarget%e3%80%81host%e3%80%81bootstrap-%e4%b8%8e-plugin-%e5%9b%9b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/110946.html","title":{"rendered":"Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u5305\u7ed3\u6784\u5168\u89e3\u6790\uff1aTarget\u3001Host\u3001Bootstrap \u4e0e Plugin \u56db\u5305\u6a21\u578b"},"content":{"rendered":"<ul class=\"gcb-tag-list\">\n<li><span class=\"gcb-tag\">\u7f16\u7a0b\u8bed\u8a00<\/span><\/li>\n<li><span class=\"gcb-tag\">\u7f16\u8bd1\u5668<\/span><\/li>\n<li><span class=\"gcb-tag\">\u8bed\u8a00\u8fd0\u884c\u65f6<\/span><\/li>\n<li><span class=\"gcb-tag\">\u6807\u51c6\u5e93<\/span><\/li>\n<li><span class=\"gcb-tag\">\u5f00\u53d1\u5de5\u5177<\/span><\/li>\n<\/ul>\n<h3 class=\"gcb-project-title\">\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011sdk<\/h3>\n<p class=\"gcb-project-desc\">The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.<\/p>\n<p>    <span class=\"gcb-project-addr-label\">\u9879\u76ee\u5730\u5740&#xff1a;<\/span><br \/>\n    <span class=\"gcb-project-addr-link\">https:\/\/gitcode.com\/gh_mirrors\/sdk1\/sdk<\/span> <\/p>\n<p>  <span class=\"gcb-project-btn\"> <span class=\"gcb-project-btn-main\">\u70b9\u51fb\u67e5\u770b<\/span> <span class=\"gcb-project-btn-sub\">\u514d\u8d39\u4e0b\u8f7d<\/span> <\/span> <\/p>\n<h3>\u5bfc\u8bfb<\/h3>\n<p>Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6&#xff08;analyzer plugin&#xff09; \u662f\u6269\u5c55 dart analyze\u3001\u7f16\u8f91\u5668\u8bca\u65ad\u3001\u4ee3\u7801\u8865\u5168\u4e0e\u91cd\u6784\u80fd\u529b\u7684\u5173\u952e\u673a\u5236&#xff1a;\u5de5\u5177&#xff08;tool&#xff09;\u901a\u8fc7\u8fd0\u884c\u63d2\u4ef6\u6765\u63a5\u6536\u5916\u90e8\u8d21\u732e\u7684\u5206\u6790\u7ed3\u679c\u3002\u672c\u6587\u4ee5\u5b98\u65b9\u6559\u7a0b Package Structure \u4e3a\u6838\u5fc3\u9aa8\u67b6&#xff0c;\u7ed3\u5408\u4ed3\u5e93\u5185 pkg\/analyzer_plugin \u7684\u771f\u5b9e\u6e90\u7801\u5b9e\u73b0&#xff0c;\u7cfb\u7edf\u62c6\u89e3\u63d2\u4ef6\u7684\u56db\u5305\u6a21\u578b&#xff08;target \/ host \/ bootstrap \/ plugin&#xff09;\u3001\u53d1\u73b0\u4e0e\u52a0\u8f7d\u6d41\u7a0b\u3001bootstrap \u5305\u7684\u5f3a\u5236\u7ed3\u6784\u4ee5\u53ca\u63d2\u4ef6\u7684\u9694\u79bb\u6267\u884c\u673a\u5236\u3002\u8bfb\u5b8c\u672c\u6587&#xff0c;\u4f60\u5c06\u80fd\u6b63\u786e\u8bbe\u8ba1\u4e00\u4e2a\u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u7684\u76ee\u5f55\u5e03\u5c40&#xff0c;\u5e76\u7406\u89e3\u63d2\u4ef6\u662f\u5982\u4f55\u88ab\u5de5\u5177\u81ea\u52a8\u53d1\u73b0\u3001\u542f\u52a8\u4e0e\u901a\u4fe1\u7684\u3002<\/p>\n<h3>\u4e00\u3001\u63d2\u4ef6\u673a\u5236\u4e0e\u201c\u5de5\u5177\u201d\u7684\u62bd\u8c61<\/h3>\n<p>\u63d2\u4ef6\u88ab\u7528\u4e8e\u5141\u8bb8\u5916\u90e8\u8d21\u732e\u53c2\u4e0e\u5230\u5de5\u5177\u4ea7\u751f\u7684\u5206\u6790\u7ed3\u679c\u4e2d\u3002\u76ee\u524d&#xff0c;\u5206\u6790\u670d\u52a1\u5668&#xff08;analysis server&#xff09;\u662f\u552f\u4e00\u652f\u6301\u63d2\u4ef6\u7684\u5de5\u5177&#xff0c;\u4f46 Dart \u56e2\u961f\u8ba1\u5212\u5c06\u63d2\u4ef6\u652f\u6301\u6269\u5c55\u5230\u547d\u4ee4\u884c\u5206\u6790\u5668&#xff08;command-line analyzer&#xff09;\u4e43\u81f3\u5176\u4ed6\u5de5\u5177\u3002\u56e0\u6b64&#xff0c;\u5b98\u65b9\u6587\u6863\u7edf\u4e00\u5c06\u8fd0\u884c\u63d2\u4ef6\u7684\u5de5\u5177\u6cdb\u79f0\u4e3a the tool\u3002<\/p>\n<p>\u63d2\u4ef6\u7528 Dart \u7f16\u5199&#xff0c;\u4e0e\u5206\u6790\u670d\u52a1\u5668\u8fd0\u884c\u5728\u540c\u4e00\u4e2a VM \u4e2d&#xff0c;\u4f46\u6bcf\u4e2a\u63d2\u4ef6\u8fd0\u884c\u5728\u72ec\u7acb\u7684 isolate \u4e2d&#xff08;\u53c2\u89c1 introduction.md&#xff09;\u3002\u5de5\u5177\u4e0e\u63d2\u4ef6\u4e4b\u95f4\u901a\u8fc7\u4e00\u7ec4\u57fa\u4e8e\u8bf7\u6c42\/\u54cd\u5e94\/\u901a\u77e5\u7684\u7ebf\u534f\u8bae\u901a\u4fe1&#xff0c;\u8fd9\u90e8\u5206\u534f\u8bae\u5728 pkg\/analyzer_plugin\/doc\/api.html \u4e2d\u5b9a\u4e49\u3002<\/p>\n<h3>\u4e8c\u3001\u56db\u5305\u6a21\u578b&#xff1a;\u4e00\u6b21\u8bf4\u6e05\u56db\u4e2a\u89d2\u8272\u7684\u804c\u8d23<\/h3>\n<p>\u4e3a\u4e86\u63cf\u8ff0\u5de5\u5177\u5982\u4f55\u4f7f\u7528\u63d2\u4ef6&#xff0c;\u5b98\u65b9\u6587\u6863\u5f15\u5165\u4e86\u56db\u4e2a\u76f8\u4e92\u533a\u5206\u7684\u5305\u3002\u7406\u89e3\u8fd9\u56db\u4e2a\u6982\u5ff5\u662f\u8bbe\u8ba1\u63d2\u4ef6\u67b6\u6784\u7684\u7b2c\u4e00\u6b65\u3002<\/p>\n<table>\n<tr>\u5305\u540d\u89d2\u8272\u5b9a\u4f4d\u5173\u952e\u7279\u5f81<\/tr>\n<tbody>\n<tr>\n<td>target package<\/td>\n<td>\u76ee\u6807\u5305<\/td>\n<td>\u5de5\u5177\u6b63\u5728\u4e3a\u5176\u4ea7\u751f\u5206\u6790\u7ed3\u679c\u7684\u5305&#xff1b;\u82e5\u5de5\u5177\u662f\u5206\u6790\u670d\u52a1\u5668&#xff0c;\u5373\u7528\u6237\u5728\u5ba2\u6237\u7aef\u6253\u5f00\u5e76\u6b63\u5728\u5f00\u53d1\u7684\u5305<\/td>\n<\/tr>\n<tr>\n<td>host package<\/td>\n<td>\u5bbf\u4e3b\u5305<\/td>\n<td>\u5305\u542b\u5b9a\u4f4d\u4e0e\u8fd0\u884c\u63d2\u4ef6\u6240\u9700\u4fe1\u606f\u7684\u5305&#xff0c;\u5176\u4e2d\u5185\u5d4c bootstrap \u5305&#xff1b;target \u5305\u9700\u4f9d\u8d56\u5b83&#xff08;\u666e\u901a\u4f9d\u8d56\u6216 dev \u4f9d\u8d56\u5747\u53ef&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>bootstrap package<\/td>\n<td>\u5f15\u5bfc\u5305<\/td>\n<td>\u5185\u5d4c\u4e8e\u5bbf\u4e3b\u5305\u4e2d\u7684\u5c0f\u578b\u5305&#xff0c;\u7528\u4e8e\u52a0\u8f7d plugin \u5305<\/td>\n<\/tr>\n<tr>\n<td>plugin package<\/td>\n<td>\u63d2\u4ef6\u5305<\/td>\n<td>\u5305\u542b\u63d2\u4ef6\u5b9e\u9645\u5b9e\u73b0\u7684\u5305<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u82e5\u5bf9 Dart \u5305&#xff08;package&#xff09;\u6982\u5ff5\u4e0d\u719f\u6089&#xff0c;\u5efa\u8bae\u5148\u4e86\u89e3 Dart \u7684\u5305\u7ba1\u7406\u5668 pub \u7684\u5de5\u4f5c\u65b9\u5f0f\u3002<\/p>\n<p>\u503c\u5f97\u5f3a\u8c03\u7684\u662f\u4f9d\u8d56\u65b9\u5411&#xff1a;target \u5305\u5fc5\u987b\u58f0\u660e\u5bf9 host \u5305\u7684\u4f9d\u8d56&#xff08;\u666e\u901a\u4f9d\u8d56\u6216 dev \u4f9d\u8d56\u7686\u53ef&#xff09;&#xff0c;\u5de5\u5177\u624d\u80fd\u636e\u6b64\u53d1\u73b0 host \u5305\u3001\u8fdb\u800c\u5b9a\u4f4d\u5e76\u8fd0\u884c\u5176\u4e2d\u5185\u5d4c\u7684 bootstrap \u5305\u3002<\/p>\n<h3>\u4e09\u3001\u5b98\u65b9\u63a8\u8350\u7684\u7ed3\u6784&#xff1a;\u4e3a\u4ec0\u4e48 bootstrap \u4e0e plugin \u5206\u5f00<\/h3>\n<p>\u4ece\u6280\u672f\u4e0a\u6765\u8bf4&#xff0c;\u4f60\u53ef\u4ee5\u628a bootstrap \u5305\u4e0e plugin \u5305\u5408\u5e76\u6210\u4e00\u4e2a\u5305\u3002\u4f46\u5b98\u65b9\u6587\u6863\u660e\u786e\u63a8\u8350\u4fdd\u6301\u4e24\u8005\u5206\u79bb&#xff0c;\u7406\u7531\u975e\u5e38\u5b9e\u9645&#xff1a;<\/p>\n<p>\u5bf9\u4e8e\u6ca1\u6709\u9009\u62e9\u542f\u7528\u8be5\u6258\u7ba1\u63d2\u4ef6\u7684\u7528\u6237\u800c\u8a00&#xff0c;\u5206\u79bb\u7ed3\u6784\u80fd\u6700\u5c0f\u5316\u9700\u8981\u989d\u5916\u4e0b\u8f7d\u7684\u6587\u4ef6\u6570\u91cf\u3002<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u7528\u6237\u53ef\u80fd\u53ea\u662f\u666e\u901a\u4f9d\u8d56\u4e86 host \u5305&#xff08;\u4f8b\u5982\u67d0\u4e2a\u6846\u67b6\u5305&#xff09;&#xff0c;\u800c\u5e76\u4e0d\u60f3\u542f\u7528\u5b83\u7684\u63d2\u4ef6\u529f\u80fd\u3002\u82e5 bootstrap \u4e0e plugin \u5408\u5e76&#xff0c;\u90a3\u4e48\u63d2\u4ef6\u5b9e\u73b0\u7684\u5927\u91cf\u6587\u4ef6\u4e5f\u4f1a\u88ab\u4e00\u5e76\u62c9\u53d6&#xff1b;\u5206\u5f00\u5b58\u653e\u5219\u53ef\u4ee5\u8ba9\u201c\u4e0d\u542f\u7528\u63d2\u4ef6\u201d\u7684\u7528\u6237\u53ea\u4e0b\u8f7d bootstrap \u8fd9\u4e2a\u8f7b\u91cf\u58f3\u3002<\/p>\n<h4>\u5178\u578b\u6848\u4f8b&#xff1a;angular \u5305<\/h4>\n<p>\u6587\u6863\u7ed9\u51fa\u7684\u771f\u5b9e\u6848\u4f8b\u662f angular \u5305\u3002angular \u5305\u81ea\u8eab\u5185\u5d4c\u4e86\u4e00\u4e2a bootstrap \u5305&#xff1b;\u5f53\u4e00\u4e2a\u5b9e\u73b0 Web \u5e94\u7528\u7684 target \u5305\u4f9d\u8d56 angular \u5305\u65f6&#xff0c;\u53ea\u9700\u5728\u5206\u6790\u9009\u9879\u4e2d\u5c06 angular \u5217\u4e3a approved host package&#xff08;\u53d7\u6279\u51c6\u7684\u5bbf\u4e3b\u5305&#xff09;&#xff0c;angular \u63d2\u4ef6\u5c31\u4f1a\u88ab\u8fd0\u884c\u3002<\/p>\n<h3>\u56db\u3001\u63d2\u4ef6\u53d1\u73b0&#xff1a;analysis_options.yaml \u4e2d\u7684 approved host \u5217\u8868<\/h3>\n<p>\u5de5\u5177\u53ea\u6709\u5728\u88ab\u660e\u786e\u544a\u77e5\u7684\u60c5\u51b5\u4e0b\u624d\u4f1a\u8fd0\u884c\u63d2\u4ef6\u6765\u5206\u6790 target \u5305\u3002\u53d1\u73b0\u673a\u5236\u5206\u4e24\u6b65&#xff1a;<\/p>\n<li>\u5de5\u5177\u5728 target \u5305\u5173\u8054\u7684 analysis_options.yaml \u4e2d\u67e5\u627e\u53d7\u6279\u51c6\u7684\u5bbf\u4e3b\u5305\u5217\u8868&#xff0c;\u5176\u5f62\u5f0f\u4e3a&#xff1a;<\/li>\n<p>analyzer:<br \/>\n  plugins:<br \/>\n    &#8211; host_package_1<br \/>\n    &#8211; host_package_2<\/p>\n<li>\u82e5\u5217\u51fa\u7684\u5bbf\u4e3b\u5305\u53ef\u4ee5\u901a\u8fc7 target \u5305\u5173\u8054\u7684 .packages \u6587\u4ef6\u89e3\u6790\u5230&#xff0c;\u5de5\u5177\u4fbf\u5728\u5bbf\u4e3b\u5305\u4e2d\u67e5\u627e &lt;host_package&gt;\/tools\/analyzer_plugin \u76ee\u5f55&#xff1b;\u82e5\u8be5\u76ee\u5f55\u5b58\u5728\u4e14\u5305\u542b\u6709\u6548\u7684 bootstrap \u5305&#xff0c;\u5219 bootstrap \u5305\u4f1a\u88ab\u4f5c\u4e3a\u63d2\u4ef6\u8fd0\u884c\u3002<\/li>\n<p>\u56e0\u6b64&#xff0c;\u4ece\u914d\u7f6e\u5230\u751f\u6548\u7684\u5b8c\u6574\u94fe\u8def\u662f&#xff1a;analysis_options.yaml \u767d\u540d\u5355 \u2192 .packages \u89e3\u6790\u5bbf\u4e3b\u5305 \u2192 \u5bbf\u4e3b\u5305\u5185 tools\/analyzer_plugin \u76ee\u5f55 \u2192 bootstrap \u5305\u542f\u52a8 \u2192 plugin \u5305\u52a0\u8f7d\u3002\u5728\u6e90\u7801\u5c42\u9762&#xff0c;\u8fd9\u4e00\u201c\u63d2\u4ef6\u88ab\u8fd0\u884c\u201d\u7684\u843d\u70b9\u662f pkg\/analyzer_plugin\/lib\/src\/driver.dart \u4e2d\u7684 Driver \u7c7b&#xff0c;\u5b83\u4ee3\u8868\u4e00\u4e2a\u6b63\u5728\u8fd0\u884c\u7684\u63d2\u4ef6\u5b9e\u4f8b&#xff0c;\u8d1f\u8d23\u4e0e\u670d\u52a1\u5668\u7684\u901a\u4fe1\u5e76\u5c06\u8bf7\u6c42\u8f6c\u53d1\u7ed9\u63d2\u4ef6\u3002<\/p>\n<h3>\u4e94\u3001Bootstrap \u5305\u7684\u5f3a\u5236\u7ed3\u6784<\/h3>\n<p>\u524d\u9762\u4e09\u4e2a\u5305&#xff08;target\u3001host\u3001plugin&#xff09;\u90fd\u53ef\u4ee5\u662f\u4efb\u610f\u5408\u6cd5\u7684 Dart \u5305\u7ed3\u6784&#xff0c;\u552f\u72ec bootstrap \u5305\u5fc5\u987b\u5305\u542b\u4e24\u4e2a\u7279\u5b9a\u6587\u4ef6&#xff1a;<\/p>\n<h4>1. tools\/analyzer_plugin\/pubspec.yaml<\/h4>\n<p>\u8be5\u6587\u4ef6\u4f9b pub \u547d\u4ee4\u751f\u6210 .packages \u6587\u4ef6&#xff0c;\u7528\u4e8e\u89e3\u6790 bootstrap \u5305\u5185\u51fa\u73b0\u7684 package: URI\u3002\u5178\u578b\u60c5\u51b5\u4e0b&#xff0c;\u5b83\u53ea\u9700\u58f0\u660e\u5bf9 plugin \u5305\u7684\u4e00\u4e2a\u4f9d\u8d56\u5373\u53ef&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>name: my_plugin_bootstrap<br \/>\nenvironment:<br \/>\n  sdk: &#039;&gt;&#061;3.0.0 &lt;4.0.0&#039;<br \/>\ndependencies:<br \/>\n  my_plugin:<br \/>\n    path: ..\/my_plugin<\/p>\n<p>\u6ce8\u610f&#xff1a;\u867d\u7136\u4ece\u6280\u672f\u4e0a\u8bb2\u4f9d\u8d56\u53ef\u4ee5\u4efb\u610f&#xff0c;\u4f46\u5b98\u65b9\u5f3a\u8c03\u201c\u901a\u5e38\u552f\u4e00\u9700\u8981\u7684\u4f9d\u8d56\u5c31\u662f\u5bf9 plugin \u5305\u7684\u4f9d\u8d56\u201d&#xff0c;\u8fd9\u4fdd\u8bc1\u4e86 bootstrap \u5305\u7684\u8f7b\u91cf\u6027\u3002<\/p>\n<h4>2. tools\/analyzer_plugin\/bin\/plugin.dart<\/h4>\n<p>\u8fd9\u662f\u63d2\u4ef6\u7684\u5165\u53e3\u70b9\u3002\u7531\u4e8e\u6bcf\u4e2a\u63d2\u4ef6\u90fd\u8fd0\u884c\u5728\u72ec\u7acb isolate \u4e2d&#xff0c;\u5165\u53e3\u51fd\u6570\u5fc5\u987b\u5177\u5907\u5982\u4e0b\u7b7e\u540d&#xff1a;<\/p>\n<p>void main(List&lt;String&gt; args, SendPort sendPort) {<br \/>\n  \/\/ Invoke the real main method in the plugin package.<br \/>\n}<\/p>\n<p>main \u7684\u51fd\u6570\u4f53\u901a\u5e38\u53ea\u6709\u4e00\u884c&#xff1a;\u8c03\u7528 plugin \u5305\u4e2d\u8d1f\u8d23\u521b\u5efa\u5e76\u542f\u52a8\u63d2\u4ef6\u7684\u51fd\u6570\u3002\u4f8b\u5982&#xff0c;\u501f\u52a9 analyzer_plugin \u5305\u63d0\u4f9b\u7684 ServerPluginStarter&#xff08;\u89c1 starter.dart&#xff09;&#xff1a;<\/p>\n<p>import &#039;dart:isolate&#039;;<br \/>\nimport &#039;package:analyzer_plugin\/starter.dart&#039;;<br \/>\nimport &#039;package:my_plugin\/my_plugin.dart&#039;;<\/p>\n<p>void main(List&lt;String&gt; args, SendPort sendPort) {<br \/>\n  ServerPluginStarter(MyPlugin()).start(sendPort);<br \/>\n}<\/p>\n<p>ServerPluginStarter \u7684\u5de5\u5382\u6784\u9020\u4f1a\u521b\u5efa Driver \u5b9e\u4f8b&#xff1b;Driver.start(SendPort) \u5185\u90e8\u901a\u8fc7 PluginIsolateChannel(sendPort) \u5efa\u7acb\u4e0e\u670d\u52a1\u5668\u7684\u901a\u4fe1\u901a\u9053&#xff0c;\u5e76\u8c03\u7528\u63d2\u4ef6\u5b9e\u4f8b\u7684 start(channel) \u5f00\u59cb\u76d1\u542c\u8bf7\u6c42&#xff08;\u89c1 channel.dart \u4e0e plugin.dart \u4e2d\u7684 ServerPlugin.start&#xff09;\u3002\u5165\u53e3\u70b9\u6536\u5230 SendPort\u3001\u5efa\u7acb\u901a\u9053\u5e76\u542f\u52a8\u63d2\u4ef6&#xff0c;\u8fd9\u6b63\u662f main \u7b7e\u540d\u4e2d SendPort \u53c2\u6570\u7684\u7528\u9014\u3002<\/p>\n<h3>\u516d\u3001\u63d2\u4ef6\u6267\u884c&#xff1a;\u4e34\u65f6\u76ee\u5f55\u3001pub \u89e3\u6790\u4e0e\u72ec\u7acb isolate<\/h3>\n<p>\u5f53\u4e00\u4e2a bootstrap \u5305\u88ab\u51b3\u5b9a\u8fd0\u884c\u65f6&#xff0c;\u5de5\u5177\u7684\u52a0\u8f7d\u6d41\u7a0b\u5982\u4e0b&#xff1a;<\/p>\n<li>\u5c06\u5305\u542b bootstrap \u5305\u7684\u76ee\u5f55\u5185\u5bb9\u590d\u5236\u5230\u4e00\u4e2a\u4e34\u65f6\u76ee\u5f55&#xff1b;<\/li>\n<li>\u5728\u8be5\u4e34\u65f6\u76ee\u5f55\u4e2d\u8fd0\u884c pub \u547d\u4ee4&#xff0c;\u4e3a bootstrap \u5305\u751f\u6210 .packages \u6587\u4ef6&#xff1b;<\/li>\n<li>\u5728\u81ea\u5df1\u7684 isolate \u4e2d\u8fd0\u884c tools\/analyzer_plugin\/bin\/plugin.dart\u3002<\/li>\n<p>\u91c7\u7528\u201c\u590d\u5236\u5230\u4e34\u65f6\u76ee\u5f55\u518d\u8fd0\u884c pub\u201d\u7684\u65b9\u5f0f&#xff0c;\u662f\u4e3a\u4e86\u4fdd\u8bc1 bootstrap \u5305\u7684\u5206\u6790\u4e0e\u4f9d\u8d56\u89e3\u6790\u72ec\u7acb\u3001\u5e72\u51c0&#xff0c;\u4e0d\u6c61\u67d3\u5bbf\u4e3b\u5305\u6216 target \u5305\u7684\u73af\u5883&#xff1b;\u800c\u201c\u72ec\u7acb isolate \u8fd0\u884c\u201d\u4fdd\u8bc1\u4e86\u63d2\u4ef6\u4e4b\u95f4\u3001\u63d2\u4ef6\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u4e92\u4e0d\u963b\u585e\u3002\u670d\u52a1\u5668\u901a\u8fc7 plugin.versionCheck \u8bf7\u6c42\u9a8c\u8bc1\u63d2\u4ef6\u4e0e\u670d\u52a1\u5668\u7684 API \u7248\u672c\u517c\u5bb9\u6027&#xff0c;\u901a\u8fc7 plugin.shutdown \u8bf7\u6c42\u5728\u5173\u95ed\u65f6\u901a\u77e5\u63d2\u4ef6\u91ca\u653e\u8d44\u6e90&#xff08;\u8be6\u89c1 introduction.md&#xff09;\u3002<\/p>\n<h3>\u4e03\u3001\u843d\u5730\u5b9e\u8df5&#xff1a;\u4ece\u5305\u7ed3\u6784\u5230\u6700\u5c0f\u63d2\u4ef6<\/h3>\n<h4>\u63a8\u8350\u7684\u4ed3\u5e93\u5e03\u5c40<\/h4>\n<p>\u7efc\u5408\u56db\u5305\u6a21\u578b\u4e0e bootstrap \u5f3a\u5236\u7ed3\u6784&#xff0c;\u4e00\u4e2a\u5178\u578b\u7684\u63d2\u4ef6\u9879\u76ee\u76ee\u5f55\u5982\u4e0b&#xff1a;<\/p>\n<p>my_plugin\/                       # plugin package&#xff1a;\u63d2\u4ef6\u5b9e\u73b0<br \/>\n  lib\/<br \/>\n    my_plugin.dart               # \u5b9a\u4e49 ServerPlugin \u5b50\u7c7b<br \/>\n  pubspec.yaml<\/p>\n<p>my_host\/                         # host package&#xff1a;\u5bbf\u4e3b\u5305&#xff0c;\u5185\u5d4c bootstrap<br \/>\n  lib\/<br \/>\n    my_host.dart<br \/>\n  tools\/<br \/>\n    analyzer_plugin\/             # bootstrap package<br \/>\n      bin\/<br \/>\n        plugin.dart              # \u5165\u53e3\u70b9&#xff1a;void main(List&lt;String&gt;, SendPort)<br \/>\n      pubspec.yaml               # \u58f0\u660e\u5bf9 my_plugin \u7684\u4f9d\u8d56<br \/>\n  pubspec.yaml<\/p>\n<p>consumer_app\/                    # target package&#xff1a;\u88ab\u5206\u6790\u7684\u5305<br \/>\n  analysis_options.yaml          # analyzer.plugins \u767d\u540d\u5355<br \/>\n  .packages                      # \u89e3\u6790 host \u5305\u4f9d\u8d56<br \/>\n  pubspec.yaml                   # \u4f9d\u8d56 my_host<\/p>\n<h4>\u6700\u5c0f\u63d2\u4ef6\u7684\u6838\u5fc3\u7c7b<\/h4>\n<p>plugin \u5305\u4e2d\u7684\u63d2\u4ef6\u5b9e\u73b0\u7c7b\u7ee7\u627f ServerPlugin&#xff08;\u6e90\u7801\u89c1 plugin.dart&#xff09;\u3002\u4e00\u4e2a\u6700\u5c0f\u5b9e\u73b0\u9700\u8981\u63d0\u4f9b\u6784\u9020\u5668\u3001\u4e09\u4e2a getter&#xff08;name\u3001version\u3001fileGlobsToAnalyze&#xff09;\u4ee5\u53ca\u4e24\u4e2a\u65b9\u6cd5&#xff08;createAnalysisDriver\u3001sendNotificationsForSubscriptions&#xff09;&#xff0c;\u53c2\u89c1\u6559\u7a0b Getting Started \u4e2d\u7684\u793a\u4f8b\u9aa8\u67b6&#xff1a;<\/p>\n<p>class MyPlugin extends ServerPlugin {<br \/>\n  MyPlugin(ResourceProvider provider) : super(provider);<\/p>\n<p>  &#064;override<br \/>\n  List&lt;String&gt; get fileGlobsToAnalyze &#061;&gt; &lt;String&gt;[&#039;**\/*.dart&#039;];<\/p>\n<p>  &#064;override<br \/>\n  String get name &#061;&gt; &#039;My fantastic plugin&#039;;<\/p>\n<p>  &#064;override<br \/>\n  String get version &#061;&gt; &#039;1.0.0&#039;;<\/p>\n<p>  &#064;override<br \/>\n  AnalysisDriverGeneric createAnalysisDriver(ContextRoot contextRoot) {<br \/>\n    \/\/ TODO: implement createAnalysisDriver<br \/>\n    return null;<br \/>\n  }<\/p>\n<p>  &#064;override<br \/>\n  void sendNotificationsForSubscriptions(<br \/>\n      Map&lt;String, List&lt;AnalysisService&gt;&gt; subscriptions) {<br \/>\n    \/\/ TODO: implement sendNotificationsForSubscriptions<br \/>\n  }<br \/>\n}<\/p>\n<p>\u5176\u4e2d name \u4e0e version \u4f1a\u5728\u9047\u5230\u95ee\u9898\u65f6\u51fa\u73b0\u5728\u9519\u8bef\u4fe1\u606f\u4e2d&#xff0c;fileGlobsToAnalyze \u58f0\u660e\u63d2\u4ef6\u5173\u5fc3\u7684\u6587\u4ef6 glob \u6a21\u5f0f\u3002\u4ece\u6e90\u7801\u53ef\u4ee5\u770b\u51fa&#xff08;plugin.dart&#xff09;&#xff0c;ServerPlugin \u5185\u90e8\u901a\u8fc7 OverlayResourceProvider \u8bbf\u95ee\u6587\u4ef6\u7cfb\u7edf\u3001\u7528 SubscriptionManager \u7ba1\u7406\u8ba2\u9605\u3001\u5e76\u7edf\u4e00\u5728 _getResponse \u4e2d\u5206\u53d1 analysis.*\u3001completion.*\u3001edit.* \u4e0e plugin.* \u7b49\u8bf7\u6c42\u2014\u2014\u8fd9\u4e9b\u6b63\u662f\u63d2\u4ef6\u4e0e\u670d\u52a1\u5668\u901a\u4fe1\u534f\u8bae\u7684\u670d\u52a1\u7aef\u5b9e\u73b0\u3002<\/p>\n<h3>\u516b\u3001\u7ee7\u7eed\u6df1\u5165<\/h3>\n<p>\u672c\u4e3b\u9898\u5728\u5b98\u65b9\u6559\u7a0b\u4e2d\u5c5e\u4e8e\u7cfb\u5217\u6587\u7ae0\u7684\u4e00\u73af\u3002\u82e5\u60f3\u7ee7\u7eed\u5b9e\u73b0\u5177\u4f53\u529f\u80fd&#xff0c;\u53ef\u4f9d\u6b21\u9605\u8bfb\u540c\u76ee\u5f55\u4e0b\u7684\u5176\u4f59\u7ae0\u8282&#xff08;\u5747\u4f4d\u4e8e pkg\/analyzer_plugin\/doc\/tutorial\/&#xff09;&#xff1a;<\/p>\n<ul>\n<li>Creating Edits&#xff1a;\u7ec4\u88c5 assists\u3001fixes \u4e0e refactorings \u6240\u9700\u7684\u7f16\u8f91\u64cd\u4f5c<\/li>\n<li>Providing Quick Assists \u4e0e Providing Quick Fixes&#xff1a;\u4e0a\u4e0b\u6587\u76f8\u5173\u7684\u4ee3\u7801\u64cd\u4f5c<\/li>\n<li>Providing Code Completions&#xff1a;\u4ee3\u7801\u8865\u5168\u5efa\u8bae<\/li>\n<li>Providing Navigation Information\u3001Providing Occurrences Information\u3001Providing Outline Information\u3001Providing Folding Information&#xff1a;\u7f16\u8f91\u5668\u5bfc\u822a\u3001\u6807\u8bb0\u3001\u5927\u7eb2\u4e0e\u6298\u53e0\u652f\u6301<\/li>\n<li>Debugging Plugins&#xff1a;\u901a\u8fc7\u72b6\u6001\u9875\u3001instrumentation log \u4e0e DevTools \u6392\u67e5\u63d2\u4ef6\u95ee\u9898<\/li>\n<\/ul>\n<p>\u63d2\u4ef6\u7684\u5b8c\u6574\u901a\u4fe1\u534f\u8bae\u5b9a\u4e49\u4e0e\u5206\u6790\u80fd\u529b\u5c01\u88c5&#xff0c;\u53ef\u5728 pkg\/analyzer_plugin\/lib \u7684 plugin\/\u3001protocol\/\u3001channel\/ \u4e0e utilities\/ \u5b50\u76ee\u5f55\u4e2d\u8fdb\u4e00\u6b65\u7814\u8bfb&#xff1b;pkg\/analyzer_plugin\/test\/plugin\/ \u4e0b\u5404 mixin \u6d4b\u8bd5&#xff08;\u5982 assist_mixin_test.dart\u3001completion_mixin_test.dart&#xff09;\u5219\u63d0\u4f9b\u4e86\u5404\u529f\u80fd\u63a5\u53e3\u7684\u8c03\u7528\u4e0e\u9a8c\u8bc1\u793a\u4f8b&#xff0c;\u53ef\u4f5c\u4e3a\u5b9e\u73b0\u53c2\u8003\u3002<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" class=\"gcb-icon-like\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260929123450-6abbb06a95cc9.svg\" alt=\"\" width=\"16\" height=\"16\" \/> <span class=\"gcb-like-text\">\u8d5e<\/span>  <\/p>\n<p>   <span class=\"gcb-share-text\">\u5206\u4eab<\/span>  <\/p>\n<ul class=\"gcb-tag-list\">\n<li><span class=\"gcb-tag\">\u7f16\u7a0b\u8bed\u8a00<\/span><\/li>\n<li><span class=\"gcb-tag\">\u7f16\u8bd1\u5668<\/span><\/li>\n<li><span class=\"gcb-tag\">\u8bed\u8a00\u8fd0\u884c\u65f6<\/span><\/li>\n<li><span class=\"gcb-tag\">\u6807\u51c6\u5e93<\/span><\/li>\n<li><span class=\"gcb-tag\">\u5f00\u53d1\u5de5\u5177<\/span><\/li>\n<\/ul>\n<h3 class=\"gcb-project-title\">\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011sdk<\/h3>\n<p class=\"gcb-project-desc\">The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.<\/p>\n<p>    <span class=\"gcb-project-addr-label\">\u9879\u76ee\u5730\u5740&#xff1a;<\/span><br \/>\n    <span class=\"gcb-project-addr-link\">https:\/\/gitcode.com\/gh_mirrors\/sdk1\/sdk<\/span> <\/p>\n<p>  <span class=\"gcb-project-btn\"> <span class=\"gcb-project-btn-main\">\u70b9\u51fb\u67e5\u770b<\/span> <span class=\"gcb-project-btn-sub\">\u514d\u8d39\u4e0b\u8f7d<\/span> <\/span> <\/p>\n<h4 class=\"gcb-related-title\">\u76f8\u5173\u63a8\u8350<\/h4>\n<ul class=\"gcb-related-list\">\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">Dart SDK \u4e2d analysis_server_plugin \u5305\u7684\u7248\u672c\u6f14\u8fdb\u4e0e\u63d2\u4ef6\u673a\u5236\u6df1\u5ea6\u89e3\u6790<\/h5>\n<p class=\"gcb-related-item-desc\">Dart SDK \u4e2d analysis_server_plugin \u5305\u7684\u7248\u672c\u6f14\u8fdb\u4e0e\u63d2\u4ef6\u673a\u5236\u6df1\u5ea6\u89e3\u6790 analysis_server_plugin \u662f Dart <\/p>\n<p>     <span class=\"gcb-tag\">\u7f16\u7a0b\u8bed\u8a00<\/span><br \/>\n     <span class=\"gcb-tag\">\u7f16\u8bd1\u5668<\/span><br \/>\n     <span class=\"gcb-tag\">\u8bed\u8a00\u8fd0\u884c\u65f6<\/span><br \/>\n     <span class=\"gcb-tag\">\u6807\u51c6\u5e93<\/span><br \/>\n     <span class=\"gcb-tag\">\u5f00\u53d1\u5de5\u5177<\/span>\n      <\/li>\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">PaddleOCR.js \u6d4f\u89c8\u5668\u7aef\u67b6\u6784\u89e3\u6790&#xff1a;SDK \u5305\u7ed3\u6784\u3001Worker \u6267\u884c\u6a21\u578b\u4e0e WASM \u52a0\u8f7d\u7b56\u7565<\/h5>\n<p class=\"gcb-related-item-desc\">PaddleOCR.js \u6d4f\u89c8\u5668\u7aef\u67b6\u6784\u89e3\u6790&#xff1a;SDK \u5305\u7ed3\u6784\u3001Worker \u6267\u884c\u6a21\u578b\u4e0e WASM \u52a0\u8f7d\u7b56\u7565 \u672c\u7bc7\u6280\u672f\u6307\u5357\u56f4\u7ed5 paddleocr js \u67b6\u6784\u6587\u6863 <\/p>\n<p>     <span class=\"gcb-tag\">\u4eba\u5de5\u667a\u80fd<\/span><br \/>\n     <span class=\"gcb-tag\">\u8ba1\u7b97\u673a\u89c6\u89c9<\/span><br \/>\n     <span class=\"gcb-tag\">OCR<\/span><br \/>\n     <span class=\"gcb-tag\">\u6df1\u5ea6\u5b66\u4e60<\/span><br \/>\n     <span class=\"gcb-tag\">\u5927\u6a21\u578b<\/span><br \/>\n     <span class=\"gcb-tag\">RAG<\/span>\n      <\/li>\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">Coze Studio \u524d\u7aef\u5171\u4eab\u63d2\u4ef6\u5305 &#064;coze-agent-ide\/plugin-shared&#xff1a;\u7ed3\u6784\u3001\u7c7b\u578b\u5951\u7ea6\u4e0e PluginPanel \u5b9e\u73b0\u89e3\u6790<\/h5>\n<p class=\"gcb-related-item-desc\">Coze Studio \u524d\u7aef\u5171\u4eab\u63d2\u4ef6\u5305 &#064;coze agent ide\/plugin shared&#xff1a;\u7ed3\u6784\u3001\u7c7b\u578b\u5951\u7ea6\u4e0e PluginPanel \u5b9e\u73b0\u89e3\u6790 \u672c\u6587\u56f4\u7ed5<\/p>\n<p>     <span class=\"gcb-tag\">\u4eba\u5de5\u667a\u80fd<\/span><br \/>\n     <span class=\"gcb-tag\">AI Agent<\/span><br \/>\n     <span class=\"gcb-tag\">\u4f4e\u4ee3\u7801<\/span><br \/>\n     <span class=\"gcb-tag\">RAG<\/span><br \/>\n     <span class=\"gcb-tag\">\u540e\u7aef<\/span><br \/>\n     <span class=\"gcb-tag\">\u524d\u7aef<\/span><br \/>\n     <span class=\"gcb-tag\">\u5de5\u4f5c\u6d41\u81ea\u52a8\u5316<\/span>\n      <\/li>\n<\/ul>\n<p>  <span class=\"gcb-prev-next-label\">\u4e0a\u4e00\u7bc7&#xff1a;<\/span><br \/>\n  Pitaya RPC\u7cfb\u7edf\u63ed\u79d8&#xff1a;Sys RPC\u4e0eUser RPC\u7684\u533a\u522b\u4e0e\u5e94\u7528\u573a\u666f <\/p>\n<p>  <span class=\"gcb-prev-next-label\">\u4e0b\u4e00\u7bc7&#xff1a;<\/span><br \/>\n  EBAZ4205\u7f51\u7edc\u529f\u80fd\u5b9e\u6218&#xff1a;10\/100M\u4ee5\u592a\u7f51PHY\u914d\u7f6e\u4e0e\u6027\u80fd\u6d4b\u8bd5 <\/p>\n<p>\u521b\u4f5c\u58f0\u660e\uff1a\u672c\u6587\u90e8\u5206\u5185\u5bb9\u7531AI\u8f85\u52a9\u751f\u6210\uff08AIGC\uff09\uff0c\u4ec5\u4f9b\u53c2\u8003<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7f16\u7a0b\u8bed\u8a00\u7f16\u8bd1\u5668\u8bed\u8a00\u8fd0\u884c\u65f6\u6807\u51c6\u5e93\u5f00\u53d1\u5de5\u5177 \u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011sdk The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more. \u9879\u76ee\u5730\u5740&#xff1a; https:\/\/gitcode.com\/gh_mirrors\/sdk1\/sdk \u70b9\u51fb\u67e5\u770b \u514d\u8d39\u4e0b\u8f7d  \u5bfc\u8bfb<br \/>\nDart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6&#xff08;analyzer plugin&#xff09; \u662f<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-110946","post","type-post","status-publish","format-standard","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u5305\u7ed3\u6784\u5168\u89e3\u6790\uff1aTarget\u3001Host\u3001Bootstrap \u4e0e Plugin \u56db\u5305\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/110946.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u5305\u7ed3\u6784\u5168\u89e3\u6790\uff1aTarget\u3001Host\u3001Bootstrap \u4e0e Plugin \u56db\u5305\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u7f16\u7a0b\u8bed\u8a00\u7f16\u8bd1\u5668\u8bed\u8a00\u8fd0\u884c\u65f6\u6807\u51c6\u5e93\u5f00\u53d1\u5de5\u5177 \u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011sdk The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more. \u9879\u76ee\u5730\u5740&#xff1a; https:\/\/gitcode.com\/gh_mirrors\/sdk1\/sdk \u70b9\u51fb\u67e5\u770b \u514d\u8d39\u4e0b\u8f7d \u5bfc\u8bfb Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6&#xff08;analyzer plugin&#xff09; \u662f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/110946.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-29T12:34:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260929123450-6abbb06a95cc9.svg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110946.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/110946.html\",\"name\":\"Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u5305\u7ed3\u6784\u5168\u89e3\u6790\uff1aTarget\u3001Host\u3001Bootstrap \u4e0e Plugin \u56db\u5305\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-29T12:34:51+00:00\",\"dateModified\":\"2026-09-29T12:34:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/110946.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/110946.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110946.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u5305\u7ed3\u6784\u5168\u89e3\u6790\uff1aTarget\u3001Host\u3001Bootstrap \u4e0e Plugin \u56db\u5305\u6a21\u578b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u5305\u7ed3\u6784\u5168\u89e3\u6790\uff1aTarget\u3001Host\u3001Bootstrap \u4e0e Plugin \u56db\u5305\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/110946.html","og_locale":"zh_CN","og_type":"article","og_title":"Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u5305\u7ed3\u6784\u5168\u89e3\u6790\uff1aTarget\u3001Host\u3001Bootstrap \u4e0e Plugin \u56db\u5305\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u7f16\u7a0b\u8bed\u8a00\u7f16\u8bd1\u5668\u8bed\u8a00\u8fd0\u884c\u65f6\u6807\u51c6\u5e93\u5f00\u53d1\u5de5\u5177 \u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011sdk The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more. \u9879\u76ee\u5730\u5740&#xff1a; https:\/\/gitcode.com\/gh_mirrors\/sdk1\/sdk \u70b9\u51fb\u67e5\u770b \u514d\u8d39\u4e0b\u8f7d \u5bfc\u8bfb Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6&#xff08;analyzer plugin&#xff09; \u662f","og_url":"https:\/\/www.wsisp.com\/helps\/110946.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-29T12:34:51+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260929123450-6abbb06a95cc9.svg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/110946.html","url":"https:\/\/www.wsisp.com\/helps\/110946.html","name":"Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u5305\u7ed3\u6784\u5168\u89e3\u6790\uff1aTarget\u3001Host\u3001Bootstrap \u4e0e Plugin \u56db\u5305\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-29T12:34:51+00:00","dateModified":"2026-09-29T12:34:51+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/110946.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/110946.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/110946.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Dart SDK \u5206\u6790\u670d\u52a1\u5668\u63d2\u4ef6\u5305\u7ed3\u6784\u5168\u89e3\u6790\uff1aTarget\u3001Host\u3001Bootstrap \u4e0e Plugin \u56db\u5305\u6a21\u578b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/110946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=110946"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/110946\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=110946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=110946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=110946"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=110946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}