{"id":872,"date":"2025-05-08T15:32:45","date_gmt":"2025-05-08T07:32:45","guid":{"rendered":"https:\/\/iichen.cn\/?p=872"},"modified":"2025-05-08T16:02:09","modified_gmt":"2025-05-08T08:02:09","slug":"flutter-dart%e5%bc%95%e7%94%a8%e4%bc%a0%e9%80%92%ef%bc%9f%e5%80%bc%e4%bc%a0%e9%80%92%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/iichen.cn\/?p=872","title":{"rendered":"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">1. \u57fa\u672c\u6570\u636e\u7c7b\u578b<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u57fa\u672c\u6570\u636e\u7c7b\u578b\u5c5e\u4e8e\u4e0d\u53ef\u53d8\uff0c\u5176\u8868\u73b0\u4e3a\u503c\u4f20\u9012 \u7c7b\u4f3c\u9762\u5411\u5bf9\u8c61\u8bed\u8a00 \u5982java <\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code language-dart lines-number has-small-font-size\"><code>void main() {\n  int a = 1;\n  \/\/ b\u548ca\u6ca1\u6709\u5173\u7cfb,b\u548ca\u90fd\u662f\u6307\u5411 \u4e00\u4e2aint\u53d8\u91cf\n  int b = a;\n  print('&gt;&gt;&gt;&gt; init \u5e38\u91cf\uff1aa ${a}');\n  test(b);\n  \/\/ b\u53d1\u751f\u53d8\u66f4\u4f1a\u91cd\u65b0\u521b\u5efa\u4e00\u4e2aint\u53d8\u91cf\u8d4b\u503c\u7ed9b\u6240\u4ee5 a\u6307\u5411\u7684\u503c\u4e0d\u4f1a\u53d8\u5316\n  ++b;\n  print('&gt;&gt;&gt;&gt; modify \u5e38\u91cf\uff1aa ${a}');\n  print('&gt;&gt;&gt;&gt; modify \u5e38\u91cf\uff1ab ${b}');\n}\n\nvoid test(int t) {\n  t = t + 1;\n}\n&gt;&gt;&gt;&gt; init \u5e38\u91cf\uff1aa 1\n&gt;&gt;&gt;&gt; modify \u5e38\u91cf\uff1aa 1\n&gt;&gt;&gt;&gt; modify \u5e38\u91cf\uff1ab 2<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u5bf9\u8c61\u7c7b\u578b<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u5176\u5728dart\u540c\u6837\u662f\u5f15\u7528\u4f20\u9012\u3002<\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code language-dart lines-number has-small-font-size\"><code>void main() {\n  Person p = new Person();\n  p.age = 10;\n  print('>>>> init \u5bf9\u8c61\uff1ap ${p.hashCode} ${p.age}');\n  Person p2 = p;\n  \/\/ \u540c\u5e38\u91cf\uff0cp2\u548cp\u90fd\u662f\u6307\u5411\u5bf9\u8c61\n  \/\/ \u4fee\u6539p2\u7684\u5bf9\u8c61\u5c5e\u6027\u503c\u4f1a\u540c\u6b65\u53cd\u6620\u5230p \u5373\u7c7b\u4f3cjava\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\u4e00\u6837\u3002\n  testP(p2);\n  print('>>>> modify \u5bf9\u8c61\uff1ap ${p.hashCode} ${p.age}');\n\n  print('-' * 50);\n  print('\u5bf9\u8c61\u6a21\u62df\u53d8\u91cf\u8d4b\u503c\u6d4b\u8bd5');\n\n  Person p3;\n  print('>>>> init \u5bf9\u8c61\uff1ap ${p.hashCode} ${p.age}');\n  p3 = p;\n  \/\/ \u533a\u522b\u4e0e\u4e0a\u8bc9\u76f4\u63a5\u4fee\u6539\u5bf9\u8c61\u5c5e\u6027\uff0c\u8fd9\u91cc\u76f4\u63a5\u4fee\u6539\u5bf9\u8c61\u6307\u5411 new\u65b0\u7684\u5bf9\u8c61\u518d\u4fee\u6539\u5c5e\u6027\u503c\uff0cp\u5c31\u4e0d\u4f1a\u53d8\u5316\u4e86 \u8868\u73b0\u540c\u5e38\u91cf\n  p3 = new Person();\n  testP(p3);\n  print('>>>> modify \u5bf9\u8c61\uff1ap ${p.hashCode} ${p.age}');\n  print('>>>> \u5bf9\u8c61\uff1ap3 ${p3.hashCode} ${p3.age}');\n}\n\nclass Person {\n  int age = 0;\n}\n\nvoid testP(Person p) {\n  print(\">>>>>>>>>>>> \u4fee\u6539\u5bf9\u8c61\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\");\n  p.age++;\n}\n\n>>>> init \u5bf9\u8c61\uff1ap 976145798 10\n>>>>>>>>>>>> \u4fee\u6539\u5bf9\u8c61\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n>>>> modify \u5bf9\u8c61\uff1ap 976145798 11\n--------------------------------------------------\n\u5bf9\u8c61\u6a21\u62df\u53d8\u91cf\u8d4b\u503c\u6d4b\u8bd5\n>>>> init \u5bf9\u8c61\uff1ap 976145798 11\n>>>>>>>>>>>> \u4fee\u6539\u5bf9\u8c61\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n>>>> modify \u5bf9\u8c61\uff1ap 976145798 11\n>>>> \u5bf9\u8c61\uff1ap3 468643881 1\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">3. List\u7c7b\u578b<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u540c\u6837\u662f\u5f15\u7528\u7c7b\u578b\uff0c\u5206\u4e3a\u6df1\u62f7\u8d1d\u548c\u6d45\u62f7\u8d1d<\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code language-dart lines-number has-small-font-size\"><code>void main() {\n  List c = &#91;'a', 'b'];\n  print('&gt;&gt;&gt;&gt; init \u96c6\u5408\uff1ac ${c.hashCode} ${c}');\n  List d = c;\n  \/\/ \u7b49\u540c\u4e8e\u521b\u5efa\u65b0\u7684List\u8d4b\u503c\u7ed9d\n  \/\/   d = &#91;'ba','bb'];\n  \/\/   d.add('new');\n  \/\/ \u6ca1\u6709d = &#91;'c']; \u76f4\u63a5add\u76f8\u5f53\u4e8e\u4fee\u6539Person\u5bf9\u8c61\u7684age\u5c5e\u6027 \u4f1a\u540c\u6b65\u4fee\u6539d\u4e0ec\n  \/\/   c.add('W');\n  \/\/ \u975e\u6df1\u62f7\u8d1d \u4fee\u6539c\u4f1a\u540c\u6b65\u4fee\u6539\u5230d\n  testList(c);\n  print('&gt;&gt;&gt;&gt; modify \u96c6\u5408\uff1ac ${c.hashCode} ${c}');\n  print('&gt;&gt;&gt;&gt;\u96c6\u5408\uff1ad ${d.hashCode} ${d}');\n\n  print('-' * 50);\n  c = &#91;'a', 'b'];\n  d = List.from(c);\n  \/\/   d = &#91;'d','e'];\n  \/\/ \u6df1\u62f7\u8d1d\u540e \u4fee\u6539c\u4e0d\u4f1a\u540c\u6b65\u4fee\u6539\u5230d\n  testList(c);\n  print('&gt;&gt;&gt;&gt; modify \u96c6\u54082\uff1ac ${c.hashCode} ${c}');\n  print('&gt;&gt;&gt;&gt;\u96c6\u54082\uff1ad ${d.hashCode} ${d}');\n}\n\nvoid testList(List l) {\n  print(\"&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; \u96c6\u5408\u6dfb\u52a0\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\");\n  l.add('test');\n}\n\n&gt;&gt;&gt;&gt; init \u96c6\u5408\uff1ac 443855167 &#91;a, b]\n&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; \u96c6\u5408\u6dfb\u52a0\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n&gt;&gt;&gt;&gt; modify \u96c6\u5408\uff1ac 443855167 &#91;a, b, test]\n&gt;&gt;&gt;&gt;\u96c6\u5408\uff1ad 443855167 &#91;a, b, test]\n--------------------------------------------------\n&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; \u96c6\u5408\u6dfb\u52a0\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n&gt;&gt;&gt;&gt; modify \u96c6\u54082\uff1ac 361308235 &#91;a, b, test]\n&gt;&gt;&gt;&gt;\u96c6\u54082\uff1ad 252117249 &#91;a, b]<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u91cd\u65b0\u8d4b\u503cd = [&#8216;ba&#8217;,&#8217;bb&#8217;];\u76f8\u5f53\u4e8e\u65b0\u5efa\u4e00\u4e2aList\u8d4b\u503c\u7ed9d\u8fd9\u65f6d\u4e0ec\u5c06\u65e0\u5173\u8054 \u5404\u81ea\u4fee\u6539\u4e0d\u5f71\u54cd\uff0c\u7b49\u540c\u4e8eList.from\u6df1\u62f7\u8d1d<\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code language-dart lines-number has-small-font-size\"><code>void main() {\n  List c = &#91;'a', 'b'];\n  print('&gt;&gt;&gt;&gt; init \u96c6\u5408\uff1ac ${c.hashCode} ${c}');\n  List d = c;\n  \/\/ \u7b49\u540c\u4e8e\u521b\u5efa\u65b0\u7684List\u8d4b\u503c\u7ed9d\n  d = &#91;'ba','bb'];\n  \/\/   d.add('new');\n  \/\/ \u76f4\u63a5add\u76f8\u5f53\u4e8e\u4fee\u6539Person\u5bf9\u8c61\u7684age\u5c5e\u6027 \u4f1a\u540c\u6b65\u4fee\u6539d\u4e0ec\n  \/\/   c.add('W');\n  testList(d);\n  print('&gt;&gt;&gt;&gt; modify \u96c6\u5408\uff1ac ${c.hashCode} ${c}');\n  print('&gt;&gt;&gt;&gt;\u96c6\u5408\uff1ad ${d.hashCode} ${d}');\n\n  print('-' * 50);\n  c = &#91;'a', 'b'];\n  d = List.from(c);\n  \/\/   d = &#91;'d','e'];\n  testList(d);\n  print('&gt;&gt;&gt;&gt; modify \u96c6\u54082\uff1ac ${c.hashCode} ${c}');\n  print('&gt;&gt;&gt;&gt;\u96c6\u54082\uff1ad ${d.hashCode} ${d}');\n}\n\nvoid testList(List l) {\n  print(\"&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; \u96c6\u5408\u6dfb\u52a0\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\");\n  l.add('test');\n}\n\n&gt;&gt;&gt;&gt; init \u96c6\u5408\uff1ac 873237492 &#91;a, b]\n&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; \u96c6\u5408\u6dfb\u52a0\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n&gt;&gt;&gt;&gt; modify \u96c6\u5408\uff1ac 873237492 &#91;a, b]\n&gt;&gt;&gt;&gt;\u96c6\u5408\uff1ad 306726437 &#91;ba, bb, test]\n--------------------------------------------------\n&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; \u96c6\u5408\u6dfb\u52a0\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n&gt;&gt;&gt;&gt; modify \u96c6\u54082\uff1ac 227779671 &#91;a, b]\n&gt;&gt;&gt;&gt;\u96c6\u54082\uff1ad 862786264 &#91;a, b, test]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u6570\u7ec4<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u4fee\u6539\u8d4b\u503c\u64cd\u4f5c\uff0c\u540c\u6b65\u4fee\u6539<\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code language-dart lines-number has-small-font-size\"><code>void main() {\n  var arrayA = &#91;'Apple', 'Orange'];\n  var arrayB = arrayA;\n  testArray(arrayB);\n  print('&gt;&gt;&gt;&gt; \u6570\u7ec4 arrayA\uff1a ${arrayA.hashCode} ${arrayA}');\n  print('&gt;&gt;&gt;&gt; \u6570\u7ec4 arrayB\uff1a ${arrayB.hashCode} ${arrayB}');\n}\n\nvoid testArray(var array) {\n  print(\"&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; \u96c6\u5408\u6dfb\u52a0\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\");\n  array.add('test');\n}\n\n&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; \u96c6\u5408\u6dfb\u52a0\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n&gt;&gt;&gt;&gt; \u6570\u7ec4 arrayA\uff1a 94689520 &#91;Apple, Orange, test]\n&gt;&gt;&gt;&gt; \u6570\u7ec4 arrayB\uff1a 94689520 &#91;Apple, Orange, test]<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote language-dart lines-number is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u65b0\u5efa\u2019\u526f\u672c\u64cd\u4f5c\u2018\uff0c\u4fee\u6539\u4e92\u4e0d\u5f71\u54cd<\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code language-dart lines-number has-small-font-size\"><code>void main() {\n  var arrayA = &#91;'Apple', 'Orange'];\n  var arrayB = arrayA;\n  \/\/ \u76f8\u5f53\u4e8e\u65b0\u5efa\u526f\u672c \u8d4b\u503c\u7ed9arrayA,\u6b64\u65f6arrayA\u4e0earrayB\u5404\u81ea\u4fee\u6539\u65e0\u5173\u8054\n  arrayA = &#91;'Banana'];\n  print('&gt;&gt;&gt;&gt; \u6570\u7ec4 arrayA\uff1a ${arrayA.hashCode} ${arrayA}');\n  print('&gt;&gt;&gt;&gt; \u6570\u7ec4 arrayB\uff1a ${arrayB.hashCode} ${arrayB}');\n}\n\nvoid testArray(var array) {\n  print(\"&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; \u96c6\u5408\u6dfb\u52a0\u503c &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\");\n  array.add('test');\n}\n\n&gt;&gt;&gt;&gt; \u6570\u7ec4 arrayA\uff1a 434056743 &#91;Banana]\n&gt;&gt;&gt;&gt; \u6570\u7ec4 arrayB\uff1a 825518412 &#91;Apple, Orange]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u603b\u7ed3<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Dart\u5c5e\u4e8e\u5f15\u7528\u4f20\u9012\uff0c\u4e0d\u7ba1\u57fa\u672c\u6570\u636e\u7c7b\u578b\u8fd8\u662f\u5bf9\u8c61\u7b49\uff0c\u800c\u8868\u73b0\u533a\u522b\u4e8e\u5982java\u7b49\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\u5728\u4e8eDart\u7684\u57fa\u672c\u6570\u636e\u7c7b\u578b\u5c5e\u4e8e\u4e0d\u53ef\u53d8\uff0c\u6bcf\u6b21\u8d4b\u503c\u4fee\u6539\u90fd\u4f1a\u521b\u5efa\u2019\u526f\u672c\u2018\u6240\u4ee5\u8868\u73b0\u4e3a \u503c\u4f20\u9012\u3002\u800c\u5bf9\u8c61\u3001\u6570\u7ec4\u7b49\u5c5e\u4e8e\u53ef\u53d8\uff0c\u5bf9\u4e8e\u76f4\u63a5\u4fee\u6539\u5bf9\u8c61\u7684\u5c5e\u6027\u8868\u73b0\u4e3a\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\u7684\u5f15\u7528\u4f20\u9012\u4f1a\u540c\u6b65\u4fee\u6539\u6e90\u5bf9\u8c61\uff0c\u4f46\u5f53\u4f7f\u7528var a = new A();var b = a;b = new A();\u6b64\u65f6a\u4e0eb\u662f\u5c5e\u4e8e\u4e92\u4e0d\u5173\u8054\u5176\u8868\u73b0\u5c31\u7b49\u540c\u4e8e\u57fa\u672c\u6570\u636e\u7c7b\u578b\uff0c\u4f46\u533a\u522b\u4e0e\u9762\u5411\u5bf9\u8c61\u8bed\u8a00Java\u7684\u8868\u73b0\u3002<\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u57fa\u672c\u6570\u636e\u7c7b\u578b \u57fa\u672c\u6570\u636e\u7c7b\u578b\u5c5e\u4e8e\u4e0d\u53ef\u53d8\uff0c\u5176\u8868\u73b0\u4e3a\u503c\u4f20\u9012 \u7c7b\u4f3c\u9762\u5411\u5bf9\u8c61\u8bed\u8a00 \u5982java 2. \u5bf9\u8c61\u7c7b\u578b \u5176\u5728 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-872","post","type-post","status-publish","format-standard","hentry","category-8"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f - IIchen<\/title>\n<meta name=\"description\" content=\"Flutter dart \u503c\u4f20\u9012 \u5f15\u7528\u4f20\u9012\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/iichen.cn\/?p=872\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f - IIchen\" \/>\n<meta property=\"og:description\" content=\"Flutter dart \u503c\u4f20\u9012 \u5f15\u7528\u4f20\u9012\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iichen.cn\/?p=872\" \/>\n<meta property=\"og:site_name\" content=\"IIchen\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-08T07:32:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-08T08:02:09+00:00\" \/>\n<meta name=\"author\" content=\"iichen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"iichen\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/iichen.cn\/?p=872#article\",\"isPartOf\":{\"@id\":\"https:\/\/iichen.cn\/?p=872\"},\"author\":{\"name\":\"iichen\",\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c\"},\"headline\":\"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f\",\"datePublished\":\"2025-05-08T07:32:45+00:00\",\"dateModified\":\"2025-05-08T08:02:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/iichen.cn\/?p=872\"},\"wordCount\":29,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c\"},\"articleSection\":[\"\u7b14\u8bb0\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/iichen.cn\/?p=872#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/iichen.cn\/?p=872\",\"url\":\"https:\/\/iichen.cn\/?p=872\",\"name\":\"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f - IIchen\",\"isPartOf\":{\"@id\":\"https:\/\/iichen.cn\/#website\"},\"datePublished\":\"2025-05-08T07:32:45+00:00\",\"dateModified\":\"2025-05-08T08:02:09+00:00\",\"description\":\"Flutter dart \u503c\u4f20\u9012 \u5f15\u7528\u4f20\u9012\",\"breadcrumb\":{\"@id\":\"https:\/\/iichen.cn\/?p=872#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/iichen.cn\/?p=872\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/iichen.cn\/?p=872#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/iichen.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/iichen.cn\/#website\",\"url\":\"https:\/\/iichen.cn\/\",\"name\":\"IIchen\",\"description\":\"Just do it!\",\"publisher\":{\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/iichen.cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c\",\"name\":\"iichen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/iichen.cn\/wp-content\/uploads\/2025\/01\/avatar.jpg\",\"contentUrl\":\"https:\/\/iichen.cn\/wp-content\/uploads\/2025\/01\/avatar.jpg\",\"width\":940,\"height\":940,\"caption\":\"iichen\"},\"logo\":{\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/www.iichen.cn\"],\"url\":\"https:\/\/iichen.cn\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f - IIchen","description":"Flutter dart \u503c\u4f20\u9012 \u5f15\u7528\u4f20\u9012","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:\/\/iichen.cn\/?p=872","og_locale":"zh_CN","og_type":"article","og_title":"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f - IIchen","og_description":"Flutter dart \u503c\u4f20\u9012 \u5f15\u7528\u4f20\u9012","og_url":"https:\/\/iichen.cn\/?p=872","og_site_name":"IIchen","article_published_time":"2025-05-08T07:32:45+00:00","article_modified_time":"2025-05-08T08:02:09+00:00","author":"iichen","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"iichen","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/iichen.cn\/?p=872#article","isPartOf":{"@id":"https:\/\/iichen.cn\/?p=872"},"author":{"name":"iichen","@id":"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c"},"headline":"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f","datePublished":"2025-05-08T07:32:45+00:00","dateModified":"2025-05-08T08:02:09+00:00","mainEntityOfPage":{"@id":"https:\/\/iichen.cn\/?p=872"},"wordCount":29,"commentCount":0,"publisher":{"@id":"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c"},"articleSection":["\u7b14\u8bb0"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/iichen.cn\/?p=872#respond"]}]},{"@type":"WebPage","@id":"https:\/\/iichen.cn\/?p=872","url":"https:\/\/iichen.cn\/?p=872","name":"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f - IIchen","isPartOf":{"@id":"https:\/\/iichen.cn\/#website"},"datePublished":"2025-05-08T07:32:45+00:00","dateModified":"2025-05-08T08:02:09+00:00","description":"Flutter dart \u503c\u4f20\u9012 \u5f15\u7528\u4f20\u9012","breadcrumb":{"@id":"https:\/\/iichen.cn\/?p=872#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iichen.cn\/?p=872"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/iichen.cn\/?p=872#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/iichen.cn\/"},{"@type":"ListItem","position":2,"name":"Flutter-dart\u5f15\u7528\u4f20\u9012\uff1f\u503c\u4f20\u9012\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/iichen.cn\/#website","url":"https:\/\/iichen.cn\/","name":"IIchen","description":"Just do it!","publisher":{"@id":"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/iichen.cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c","name":"iichen","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/iichen.cn\/#\/schema\/person\/image\/","url":"https:\/\/iichen.cn\/wp-content\/uploads\/2025\/01\/avatar.jpg","contentUrl":"https:\/\/iichen.cn\/wp-content\/uploads\/2025\/01\/avatar.jpg","width":940,"height":940,"caption":"iichen"},"logo":{"@id":"https:\/\/iichen.cn\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/www.iichen.cn"],"url":"https:\/\/iichen.cn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/posts\/872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iichen.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=872"}],"version-history":[{"count":11,"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":883,"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/posts\/872\/revisions\/883"}],"wp:attachment":[{"href":"https:\/\/iichen.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iichen.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iichen.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}