{"id":98,"date":"2026-09-01T01:24:35","date_gmt":"2026-08-31T17:24:35","guid":{"rendered":"https:\/\/www.ziliaochi.cn\/index.php\/2026\/09\/01\/interview-flutter-questions\/"},"modified":"2026-09-06T01:30:14","modified_gmt":"2026-09-05T17:30:14","slug":"interview-flutter-questions","status":"publish","type":"post","link":"https:\/\/www.ziliaochi.cn\/index.php\/2026\/09\/01\/interview-flutter-questions\/","title":{"rendered":"Flutter \u9762\u8bd5 20 \u95ee\uff1a\u6e32\u67d3\u7ba1\u7ebf\u3001\u72b6\u6001\u7ba1\u7406\u4e0e\u6027\u80fd\u4f18\u5316"},"content":{"rendered":"<div style=\"font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"PingFang SC\",\"Hiragino Sans GB\",\"Microsoft YaHei\",sans-serif;font-size:16.5px;line-height:1.9;color:#35435c;letter-spacing:.2px\">\n<div style=\"background:linear-gradient(135deg,#f5f9ff,#eef5ff);border:1px solid #dce8f8;border-left:4px solid #6b5ce7;border-radius:12px;padding:16px 20px;margin:0 0 24px;font-size:14.5px;color:#3d5570;line-height:2\"><span style=\"display:inline-block;background:#6b5ce7;color:#fff;font-size:12.5px;font-weight:700;padding:3px 10px;border-radius:6px;margin-right:12px;letter-spacing:1px;vertical-align:1px\">\u5173\u952e\u8bcd<\/span>Flutter\u3001\u4e09\u68f5\u6811\u3001Widget\u3001Element\u3001RenderObject\u3001\u72b6\u6001\u7ba1\u7406\u3001Isolate<\/div>\n<div style=\"background:#fafbfd;border:1px solid #e8edf5;border-radius:12px;padding:18px 22px;margin:0 0 30px\">\n<div style=\"font-size:13.5px;font-weight:700;color:#8a99ae;letter-spacing:2px;margin-bottom:12px\">\u76ee\u5f55<\/div>\n<ol style=\"margin:0;padding-left:20px\">\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-1\" style=\"color:#42546e;text-decoration:none;border:none\">\u4e00\u3001\u6e32\u67d3\u7ba1\u7ebf\uff1a\u4e00\u5207\u7684\u8d77\u70b9<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-2\" style=\"color:#42546e;text-decoration:none;border:none\">\u4e8c\u3001\u72b6\u6001\u7ba1\u7406\uff1a\u9009\u578b\u9898<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-3\" style=\"color:#42546e;text-decoration:none;border:none\">\u4e09\u3001\u6027\u80fd\uff1a\u9762\u8bd5\u5b98\u6700\u7231\u8ffd\u95ee\u7684\u90e8\u5206<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-4\" style=\"color:#42546e;text-decoration:none;border:none\">\u56db\u3001\u5de5\u7a0b\u4e0e\u6df7\u5408\u5f00\u53d1<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-5\" style=\"color:#42546e;text-decoration:none;border:none\">\u4e94\u3001\u7b54\u9898\u7b56\u7565<\/a><\/li>\n<li style=\"margin:8px 0;font-size:15px;line-height:1.6\"><a href=\"#sec-6\" style=\"color:#42546e;text-decoration:none;border:none\">\u516d\u3001\u5c0f\u7ed3<\/a><\/li>\n<\/ol>\n<\/div>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><span style=\"font-size:17px;color:#1e2f47\">Flutter \u9762\u8bd5\u6709\u6781\u5f3a\u7684\u6280\u672f\u7279\u5f81\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u53ea\u8981\u4f60\u6ca1\u771f\u6b63\u7406\u89e3\u6e32\u67d3\u7ba1\u7ebf\uff0c\u540e\u9762\u7684\u72b6\u6001\u7ba1\u7406\u3001\u6027\u80fd\u4f18\u5316\u9898\u57fa\u672c\u7b54\u4e0d\u5230\u70b9\u5b50\u4e0a<\/strong>\u3002\u56e0\u4e3a\u51e0\u4e4e\u6240\u6709\u8bbe\u8ba1\u51b3\u7b56\uff0c\u90fd\u80fd\u4ece&#8221;\u4e09\u68f5\u6811 + \u81ea\u7ed8&#8221;\u8fd9\u4e2a\u6839\u4e0a\u63a8\u5bfc\u51fa\u6765\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u672c\u6587\u6309&#8221;\u6e32\u67d3\u7ba1\u7ebf \u2192 \u72b6\u6001\u7ba1\u7406 \u2192 \u6027\u80fd \u2192 \u5de5\u7a0b&#8221;\u56db\u5c42\uff0c\u6574\u7406 20 \u4e2a\u9ad8\u9891\u8003\u70b9\u3002<\/p>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #6b5ce7;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-1\">\u4e00\u3001\u6e32\u67d3\u7ba1\u7ebf\uff1a\u4e00\u5207\u7684\u8d77\u70b9<\/h2>\n<figure style=\"margin:30px 0;text-align:center\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"900\" src=\"https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-flutter-questions-fig-1.png\" alt=\"Flutter \u7684\u4e09\u68f5\u6811\" class=\"wp-image-163\" style=\"max-width:100%;height:auto;border-radius:12px;border:1px solid #e6ecf4;box-shadow:0 8px 24px rgba(15,30,60,.07)\" srcset=\"https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-flutter-questions-fig-1.png 1200w, https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-flutter-questions-fig-1-300x225.png 300w, https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-flutter-questions-fig-1-1024x768.png 1024w, https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-flutter-questions-fig-1-768x576.png 768w, https:\/\/www.ziliaochi.cn\/wp-content\/uploads\/2026\/09\/interview-flutter-questions-fig-1-800x600.png 800w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption style=\"margin-top:12px;font-size:13.5px;color:#7b8aa0;text-align:center;line-height:1.75\">Flutter \u4e09\u68f5\u6811\uff1aWidget \u914d\u7f6e\u3001Element \u5b9e\u4f8b\u3001RenderObject \u6e32\u67d3<\/figcaption><\/figure>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q1\uff1aFlutter \u7684\u4e09\u68f5\u6811\u662f\u4ec0\u4e48\uff1f\u5404\u81ea\u7684\u4f5c\u7528\uff1f<\/strong><\/p>\n<ul style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Widget \u6811<\/strong>\uff1a\u914d\u7f6e\u4fe1\u606f\uff0c<strong style=\"color:#0f1c2e;font-weight:600\">\u4e0d\u53ef\u53d8\u3001\u6781\u5176\u8f7b\u91cf<\/strong>\uff0c\u91cd\u5efa\u6210\u672c\u6781\u4f4e\uff1b<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Element \u6811<\/strong>\uff1a\u771f\u6b63\u7684&#8221;\u5b9e\u4f8b&#8221;\uff0c\u8d1f\u8d23<strong style=\"color:#0f1c2e;font-weight:600\">\u6301\u6709\u72b6\u6001\u3001\u7ba1\u7406\u7236\u5b50\u5173\u7cfb\u3001\u505a diff<\/strong>\uff0c\u662f\u8fde\u63a5 Widget \u4e0e RenderObject \u7684\u6865\u6881\uff1b<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">RenderObject \u6811<\/strong>\uff1a\u8d1f\u8d23<strong style=\"color:#0f1c2e;font-weight:600\">\u5e03\u5c40\uff08layout\uff09\u3001\u7ed8\u5236\uff08paint\uff09\u3001\u547d\u4e2d\u6d4b\u8bd5<\/strong>\uff0c\u662f\u771f\u6b63\u5e72\u91cd\u6d3b\u7684\u4e00\u5c42\u3002<\/li>\n<\/ul>\n<blockquote style=\"margin:24px 0;padding:16px 22px;background:#f7fafd;border-left:4px solid #6b5ce7;border-radius:0 10px 10px 0;color:#4a5b73;font-size:15.6px;line-height:1.88\">\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u8ffd\u95ee\u9677\u9631\uff1a<\/strong>&#8220;Widget \u91cd\u5efa\u662f\u4e0d\u662f\u5f88\u8d35\uff1f&#8221;<br \/>\n\u4e0d\u662f\u3002<strong style=\"color:#0f1c2e;font-weight:600\">Widget \u662f\u4e0d\u53ef\u53d8\u7684\u914d\u7f6e\u5bf9\u8c61\uff0c\u91cd\u5efa\u53ea\u662f\u521b\u5efa\u65b0\u5bf9\u8c61<\/strong>\uff0c\u4ee3\u4ef7\u6781\u5c0f\u3002\u771f\u6b63\u8d35\u7684\u662f Element \u4e0e RenderObject \u7684\u91cd\u5efa\u3002Flutter \u901a\u8fc7 Element \u7684 diff\uff08\u6bd4\u8f83 runtimeType \u4e0e key\uff09\u6765\u51b3\u5b9a\u662f\u590d\u7528\u8fd8\u662f\u91cd\u5efa\u3002<strong style=\"color:#0f1c2e;font-weight:600\">\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48&#8221;\u9891\u7e41 build \u4e0d\u6162\uff0c\u4f46\u8ba9 Element \u6811\u5927\u9762\u79ef\u91cd\u5efa\u4f1a\u5f88\u6162&#8221;\u3002<\/strong><\/p>\n<\/blockquote>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q2\uff1aFlutter \u4e3a\u4ec0\u4e48\u80fd\u505a\u5230\u8de8\u5e73\u53f0 UI \u4e00\u81f4\uff1f<\/strong><br \/>\n\u56e0\u4e3a\u5b83<strong style=\"color:#0f1c2e;font-weight:600\">\u4e0d\u4f9d\u8d56\u7cfb\u7edf\u539f\u751f\u63a7\u4ef6\uff0c\u800c\u662f\u81ea\u5e26\u6e32\u67d3\u5f15\u64ce\u76f4\u63a5\u7ed8\u5236<\/strong>\uff08Skia\/Impeller\uff09\u3002UI \u7531 Flutter \u81ea\u5df1\u753b\uff0c\u6240\u4ee5\u4e24\u7aef\u8868\u73b0\u5b8c\u5168\u4e00\u81f4\u3002\u4ee3\u4ef7\u662f\u5305\u4f53\u79ef\u66f4\u5927\uff0c\u4e0e\u539f\u751f\u63a7\u4ef6\u6df7\u6392\u9700\u8981\u5e73\u53f0\u901a\u9053\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q3\uff1a<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">setState<\/code> \u4e4b\u540e\u53d1\u751f\u4e86\u4ec0\u4e48\uff1f<\/strong><br \/>\n\u6807\u8bb0\u5bf9\u5e94 Element \u4e3a dirty \u2192 \u4e0b\u4e00\u5e27\u56de\u8c03\u65f6\u91cd\u5efa Widget \u2192 Element diff \u2192 \u9700\u8981\u66f4\u65b0\u7684 RenderObject \u91cd\u65b0 layout\/paint \u2192 \u5408\u6210\u4e0a\u5c4f\u3002<strong style=\"color:#0f1c2e;font-weight:600\">\u6ce8\u610f <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">setState<\/code> \u662f\u540c\u6b65\u8c03\u7528\uff0c\u4f46\u91cd\u5efa\u53d1\u751f\u5728\u4e0b\u4e00\u5e27\u3002<\/strong><\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q4\uff1aKey \u6709\u4ec0\u4e48\u7528\uff1f\u4ec0\u4e48\u65f6\u5019\u5fc5\u987b\u7528\uff1f<\/strong><br \/>\nKey \u51b3\u5b9a Element \u4e0e Widget \u7684\u5339\u914d\u7b56\u7565\u3002\u5f53<strong style=\"color:#0f1c2e;font-weight:600\">\u540c\u7c7b\u578b Widget \u5728\u5217\u8868\u4e2d\u4f4d\u7f6e\u4f1a\u53d8\u5316<\/strong>\uff08\u5982\u5220\u9664\u4e2d\u95f4\u9879\u3001\u91cd\u6392\u5e8f\uff09\u65f6\uff0c\u5fc5\u987b\u7528 Key\uff0c\u5426\u5219 Flutter \u4f1a\u9519\u8bef\u590d\u7528 Element\uff0c\u5bfc\u81f4<strong style=\"color:#0f1c2e;font-weight:600\">\u72b6\u6001\u4e32\u4f4d<\/strong>\uff08\u4f8b\u5982\u8f93\u5165\u6846\u5185\u5bb9\u9519\u4f4d\uff09\u3002<\/p>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #6b5ce7;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-2\">\u4e8c\u3001\u72b6\u6001\u7ba1\u7406\uff1a\u9009\u578b\u9898<\/h2>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q5\uff1aStatelessWidget \u548c StatefulWidget \u7684\u533a\u522b\uff1f<\/strong><br \/>\n\u524d\u8005\u65e0\u53ef\u53d8\u72b6\u6001\uff0cbuild \u53ea\u4f9d\u8d56\u5916\u90e8\u4f20\u5165\u7684\u914d\u7f6e\uff1b\u540e\u8005\u901a\u8fc7 State \u5bf9\u8c61\u6301\u6709\u53ef\u53d8\u72b6\u6001\uff0cState \u7684\u751f\u547d\u5468\u671f\u72ec\u7acb\u4e8e Widget\uff08Widget \u91cd\u5efa\u65f6 State \u53ef\u590d\u7528\uff09\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q6\uff1a\u4e3b\u6d41\u72b6\u6001\u7ba1\u7406\u65b9\u6848\u600e\u4e48\u9009\uff1f<\/strong><\/p>\n<figure class=\"wp-block-table\">\n<table style=\"width:100%;border-collapse:collapse;margin:24px 0;font-size:15px;border:1px solid #e3eaf3;border-radius:10px;overflow:hidden\">\n<thead>\n<tr>\n<th style=\"background:#f2f6fb;color:#12233a;font-weight:700;padding:12px 14px;text-align:left;border-bottom:1px solid #e3eaf3;font-size:15px\">\u65b9\u6848<\/th>\n<th style=\"background:#f2f6fb;color:#12233a;font-weight:700;padding:12px 14px;text-align:left;border-bottom:1px solid #e3eaf3;font-size:15px\">\u7279\u70b9<\/th>\n<th style=\"background:#f2f6fb;color:#12233a;font-weight:700;padding:12px 14px;text-align:left;border-bottom:1px solid #e3eaf3;font-size:15px\">\u9002\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">setState<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u6700\u7b80\u5355\uff0c\u91cd\u5efa\u8303\u56f4\u5927<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u5c40\u90e8\u3001\u7b80\u5355\u7684\u9875\u9762\u5185\u72b6\u6001<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">InheritedWidget<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u5e95\u5c42\u673a\u5236\uff0c\u53ef\u8de8\u5c42\u5171\u4eab<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u7406\u89e3\u539f\u7406\u7528\uff0c\u4e1a\u52a1\u5c11\u76f4\u63a5\u7528<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">Provider \/ Riverpod<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u57fa\u4e8e InheritedWidget \u5c01\u88c5\uff0c\u53ef\u7cbe\u7ec6\u5237\u65b0<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u4e2d\u5c0f\u578b\u5e94\u7528\u9996\u9009<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">Bloc \/ Cubit<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u4e8b\u4ef6\u9a71\u52a8\uff0c\u72b6\u6001\u6d41\u8f6c\u6e05\u6670\uff0c\u53ef\u6d4b\u8bd5\u6027\u5f3a<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u4e2d\u5927\u578b\u3001\u4e1a\u52a1\u903b\u8f91\u590d\u6742<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">GetX<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u4e0a\u624b\u5feb\uff0c\u529f\u80fd\u5168\uff08\u8def\u7531\/\u4f9d\u8d56\u6ce8\u5165\uff09<\/td>\n<td style=\"padding:12px 14px;border-bottom:1px solid #eff4fa;color:#3a4a63;line-height:1.75\">\u8ffd\u6c42\u5f00\u53d1\u901f\u5ea6\uff0c\u6ce8\u610f\u89c4\u8303\u7ea6\u675f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<blockquote style=\"margin:24px 0;padding:16px 22px;background:#f7fafd;border-left:4px solid #6b5ce7;border-radius:0 10px 10px 0;color:#4a5b73;font-size:15.6px;line-height:1.88\">\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u52a0\u5206\u7b54\u6cd5\uff1a<\/strong>\u4e0d\u8981\u8bf4&#8221;\u54ea\u4e2a\u6700\u597d&#8221;\uff0c\u800c\u8981\u8bf4&#8221;<strong style=\"color:#0f1c2e;font-weight:600\">\u6309\u56e2\u961f\u89c4\u6a21\u4e0e\u4e1a\u52a1\u590d\u6742\u5ea6\u9009\uff0c\u5173\u952e\u662f\u5237\u65b0\u8303\u56f4\u8981\u53ef\u63a7<\/strong>&#8220;\u3002\u518d\u8865\u4e00\u53e5&#8221;\u65e0\u8bba\u7528\u54ea\u4e2a\uff0c\u90fd\u5e94\u907f\u514d\u8ba9\u6574\u68f5\u6811\u91cd\u5efa&#8221;\u3002<\/p>\n<\/blockquote>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q7\uff1a\u5982\u4f55\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u91cd\u5efa\uff1f<\/strong><br \/>\n\u4e09\u5c42\u624b\u6bb5\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u2460 \u62c6\u5206 Widget\uff0c\u628a\u53d8\u5316\u8303\u56f4\u7f29\u5c0f\u5230\u6700\u5c0f\u5b50\u6811\uff1b\u2461 \u4f7f\u7528 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">const<\/code> \u6784\u9020\u51fd\u6570\uff0c\u8ba9\u5e38\u91cf Widget \u7f16\u8bd1\u671f\u590d\u7528\uff1b\u2462 \u7528\u72b6\u6001\u7ba1\u7406\u65b9\u6848\u7684\u9009\u62e9\u6027\u91cd\u5efa\u80fd\u529b<\/strong>\uff08\u5982 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">Selector<\/code>\u3001<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">Consumer<\/code>\uff09\u3002<\/p>\n<pre style=\"background:#0f1a2b;color:#dbe6f5;border-radius:12px;padding:18px 20px;overflow-x:auto;font-size:13.6px;line-height:1.78;margin:22px 0;border:1px solid #1e2c42;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace\"><code style=\"background:none;border:none;color:inherit;padding:0;font-size:inherit;font-family:inherit\">\/\/ \u53cd\u4f8b\uff1a\u6574\u4e2a\u9875\u9762 build \u4f9d\u8d56 count\uff0c\u8d2d\u7269\u8f66\u5217\u8868\u966a\u8dd1\u91cd\u5efa\nConsumer&lt;CartModel&gt;(builder: (_, cart, __) =&gt; WholePage(cart));\n\n\/\/ \u6b63\u4f8b\uff1aSelector \u628a\u91cd\u5efa\u8303\u56f4\u6536\u655b\u5230\u771f\u6b63\u4f9d\u8d56\u8be5\u72b6\u6001\u7684\u5b50\u6811\nSelector&lt;CartModel, int&gt;(\n  selector: (_, cart) =&gt; cart.itemCount,        \/\/ \u53ea\u8ba2\u9605\u8ba1\u6570\n  builder: (_, count, __) =&gt; Badge(child: Text(\"$count\")),\n);\n\/\/ \u9759\u6001\u90e8\u5206\u5c3d\u91cf const \u5316\uff0cdiff \u65f6\u76f4\u63a5\u8df3\u8fc7\nconst HeaderBar(title: Text(\"\u8d2d\u7269\u8f66\"));<\/code><\/pre>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #6b5ce7;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-3\">\u4e09\u3001\u6027\u80fd\uff1a\u9762\u8bd5\u5b98\u6700\u7231\u8ffd\u95ee\u7684\u90e8\u5206<\/h2>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q8\uff1aFlutter \u5361\u987f\u7684\u5e38\u89c1\u539f\u56e0\uff1f<\/strong><\/p>\n<ul style=\"padding-left:26px;margin:16px 0\">\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">build \u65b9\u6cd5\u91cc\u505a\u91cd\u8ba1\u7b97<\/strong>\uff1abuild \u53ef\u80fd\u4e00\u5e27\u8c03\u7528\u591a\u6b21\uff0c\u4efb\u4f55\u8017\u65f6\u903b\u8f91\u90fd\u8981\u5916\u79fb\uff1b<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">UI \u7ebf\u7a0b\u505a\u91cd\u6d3b<\/strong>\uff1a\u5927 JSON \u89e3\u6790\u3001\u56fe\u7247\u7f16\u89e3\u7801\u5e94\u653e\u5230 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">Isolate<\/code>\uff1b<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Shader \u7f16\u8bd1\u5361\u987f<\/strong>\uff1a\u9996\u6b21\u51fa\u73b0\u590d\u6742\u52a8\u6548\u65f6\u7f16\u8bd1\u7740\u8272\u5668\u5bfc\u81f4\u6389\u5e27\uff0c\u9700<strong style=\"color:#0f1c2e;font-weight:600\">\u9884\u70ed\u7740\u8272\u5668<\/strong>\uff1b<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u5217\u8868\u672a\u7528\u61d2\u52a0\u8f7d<\/strong>\uff1a\u957f\u5217\u8868\u5fc5\u987b\u7528 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">ListView.builder<\/code> \u800c\u975e\u4e00\u6b21\u6027\u521b\u5efa\u5168\u90e8\u5b50\u9879\uff1b<\/li>\n<li style=\"font-size:16.2px;line-height:1.92;color:#35435c;margin:10px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">\u8fc7\u5ea6\u4f7f\u7528 Opacity \/ Clip \/ \u9634\u5f71<\/strong>\uff1a\u4f1a\u89e6\u53d1\u79bb\u5c4f\u6e32\u67d3\uff0c\u4ee3\u4ef7\u9ad8\u3002<\/li>\n<\/ul>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q9\uff1aIsolate \u662f\u4ec0\u4e48\uff1f\u548c\u7ebf\u7a0b\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/strong><br \/>\nIsolate \u662f Dart \u7684\u5e76\u53d1\u5355\u5143\uff0c<strong style=\"color:#0f1c2e;font-weight:600\">\u62e5\u6709\u72ec\u7acb\u5185\u5b58\uff0c\u4e0d\u5171\u4eab\u72b6\u6001<\/strong>\uff0c\u901a\u8fc7\u6d88\u606f\uff08port\uff09\u901a\u4fe1\u3002\u56e0\u4e3a\u6ca1\u6709\u5171\u4eab\u5185\u5b58\uff0c<strong style=\"color:#0f1c2e;font-weight:600\">\u4e0d\u9700\u8981\u9501\uff0c\u4e5f\u6ca1\u6709\u6570\u636e\u7ade\u4e89<\/strong>\uff0c\u4f46\u4f20\u9012\u5927\u6570\u636e\u4f1a\u6709\u62f7\u8d1d\u5f00\u9500\uff08\u53ef\u7528 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">TransferableTypedData<\/code> \u4f18\u5316\uff09\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q10\uff1aconst \u6784\u9020\u4e3a\u4ec0\u4e48\u80fd\u63d0\u5347\u6027\u80fd\uff1f<\/strong><br \/>\n<strong style=\"color:#0f1c2e;font-weight:600\">\u7f16\u8bd1\u671f\u5e38\u91cf\u5316<\/strong>\uff1a\u76f8\u540c\u7684 const Widget \u4f1a\u88ab\u590d\u7528\u4e3a\u540c\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u540c\u65f6 Flutter \u5728 diff \u65f6\u53ef\u76f4\u63a5\u5224\u65ad\u76f8\u7b49\uff0c\u8df3\u8fc7\u91cd\u5efa\u3002\u5728\u9891\u7e41\u91cd\u5efa\u7684\u754c\u9762\u91cc\uff08\u5982\u52a8\u753b\u3001\u5217\u8868\u9879\uff09\u6536\u76ca\u660e\u663e\u3002<\/p>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #6b5ce7;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-4\">\u56db\u3001\u5de5\u7a0b\u4e0e\u6df7\u5408\u5f00\u53d1<\/h2>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q11\uff1aPlatform Channel \u662f\u4ec0\u4e48\uff1f\u6709\u4ec0\u4e48\u6027\u80fd\u6ce8\u610f\u70b9\uff1f<\/strong><br \/>\nFlutter \u4e0e\u539f\u751f\u901a\u4fe1\u7684\u901a\u9053\uff08MethodChannel \/ EventChannel \/ BasicMessageChannel\uff09\u3002\u6ce8\u610f\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u8de8\u901a\u9053\u8c03\u7528\u6709\u7f16\u89e3\u7801\u5f00\u9500<\/strong>\uff0c\u9ad8\u9891\u8c03\u7528\uff08\u5982\u6bcf\u5e27\u4f20\u4f20\u611f\u5668\u6570\u636e\uff09\u4f1a\u6210\u4e3a\u74f6\u9888\uff0c\u5e94\u6539\u4e3a\u6279\u91cf\u4f20\u8f93\u6216\u6539\u7528 EventChannel \u6d41\u5f0f\u63a8\u9001\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q12\uff1aFlutter \u4e0e\u539f\u751f\u6df7\u5408\u5f00\u53d1\u600e\u4e48\u96c6\u6210\uff1f<\/strong><br \/>\n\u4e24\u79cd\u5f62\u6001\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u2460 \u539f\u751f\u9875\u9762\u5d4c\u5165 Flutter \u6a21\u5757<\/strong>\uff08\u6e10\u8fdb\u8fc1\u79fb\uff0c\u5e38\u7528\uff09\uff1b<strong style=\"color:#0f1c2e;font-weight:600\">\u2461 Flutter \u9875\u9762\u5d4c\u5165\u539f\u751f\u89c6\u56fe<\/strong>\uff08\u901a\u8fc7 PlatformView\uff0c\u6ce8\u610f\u5176\u6027\u80fd\u4e0e\u517c\u5bb9\u6027\u5f00\u9500\uff09\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q13\uff1a\u5305\u4f53\u79ef\u600e\u4e48\u4f18\u5316\uff1f<\/strong><br \/>\n\u79fb\u9664\u672a\u4f7f\u7528\u8d44\u6e90\u3001\u5f00\u542f\u4ee3\u7801\u6df7\u6dc6\u4e0e tree-shake \u56fe\u6807\u3001\u6309 ABI \u5206\u5305\u3001\u538b\u7f29 so\u3001\u5ef6\u8fdf\u52a0\u8f7d\u975e\u5fc5\u8981\u5b57\u4f53\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q14\uff1a<code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">main()<\/code> \u91cc\u7684 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">runApp<\/code> \u4e4b\u524d\u80fd\u505a\u4ec0\u4e48\uff1f<\/strong><br \/>\n\u53ef\u4ee5\u6267\u884c\u521d\u59cb\u5316\uff08\u5982\u7ed1\u5b9a WidgetsFlutterBinding\u3001\u521d\u59cb\u5316\u4f9d\u8d56\u3001\u52a0\u8f7d\u914d\u7f6e\uff09\u3002\u6ce8\u610f\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u8017\u65f6\u521d\u59cb\u5316\u4f1a\u63a8\u8fdf\u9996\u5e27<\/strong>\uff0c\u9700\u8981\u6743\u8861\uff0c\u53ef\u505a\u542f\u52a8\u9875\u8fc7\u6e21\u3002<\/p>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><strong style=\"color:#0f1c2e;font-weight:600\">Q15\uff1a\u70ed\u91cd\u8f7d\u548c\u70ed\u91cd\u542f\u7684\u533a\u522b\uff1f<\/strong><br \/>\n\u70ed\u91cd\u8f7d\uff08Hot Reload\uff09\u628a\u66f4\u65b0\u7684\u4ee3\u7801\u6ce8\u5165\u6b63\u5728\u8fd0\u884c\u7684 Dart VM\uff0c<strong style=\"color:#0f1c2e;font-weight:600\">\u4fdd\u7559\u5e94\u7528\u72b6\u6001<\/strong>\uff0c\u79d2\u7ea7\u751f\u6548\uff1b\u70ed\u91cd\u542f\uff08Hot Restart\uff09\u91cd\u542f\u5e94\u7528\uff0c<strong style=\"color:#0f1c2e;font-weight:600\">\u72b6\u6001\u4e22\u5931<\/strong>\uff0c\u4f46\u6bd4\u51b7\u542f\u52a8\u5feb\u3002\u4fee\u6539 <code style=\"background:#eef4fb;color:#0b6bcb;padding:2px 7px;border-radius:5px;font-size:14px;font-family:\"JetBrains Mono\",Consolas,Monaco,\"Courier New\",monospace;border:1px solid #dce8f6;white-space:nowrap\">main()<\/code>\u3001\u5168\u5c40\u53d8\u91cf\u521d\u59cb\u5316\u7b49\u573a\u666f\u9700\u8981\u70ed\u91cd\u542f\u3002<\/p>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #6b5ce7;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-5\">\u4e94\u3001\u7b54\u9898\u7b56\u7565<\/h2>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">Flutter \u9762\u8bd5\u6709\u4e00\u4e2a\u660e\u663e\u7684&#8221;\u6839\u8282\u70b9&#8221;\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u4e09\u68f5\u6811\u7684\u804c\u8d23\u5212\u5206<\/strong>\u3002\u7b54\u4efb\u4f55\u95ee\u9898\u90fd\u53ef\u4ee5\u5f80\u56de\u9760\u2014\u2014\u72b6\u6001\u7ba1\u7406\u8003\u5bdf\u7684\u662f&#8221;\u5982\u4f55\u7f29\u5c0f\u91cd\u5efa\u8303\u56f4&#8221;\uff0c\u6027\u80fd\u4f18\u5316\u8003\u5bdf\u7684\u662f&#8221;\u54ea\u68f5\u6811\u5728\u627f\u53d7\u4ee3\u4ef7&#8221;\u3002<\/p>\n<blockquote style=\"margin:24px 0;padding:16px 22px;background:#f7fafd;border-left:4px solid #6b5ce7;border-radius:0 10px 10px 0;color:#4a5b73;font-size:15.6px;line-height:1.88\">\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u5982\u679c\u53ea\u80fd\u51c6\u5907\u4e00\u4e2a\u6848\u4f8b\uff0c\u5efa\u8bae\u51c6\u5907\uff1a<strong style=\"color:#0f1c2e;font-weight:600\">\u4e00\u6b21\u771f\u5b9e\u7684\u5361\u987f\u6392\u67e5<\/strong>\uff08\u7528 Performance Overlay \/ DevTools \u53d1\u73b0\u95ee\u9898 \u2192 \u5b9a\u4f4d\u5230\u5177\u4f53 Widget \u2192 \u7528\u62c6\u5206\u3001const \u6216 Isolate \u89e3\u51b3 \u2192 \u7528\u6570\u636e\u9a8c\u8bc1\uff09\u3002\u8fd9\u4e00\u4e2a\u95ee\u9898\u80fd\u4e32\u8d77\u6574\u6761\u77e5\u8bc6\u94fe\u3002<\/p>\n<\/blockquote>\n<h2 style=\"font-size:23px;line-height:1.45;font-weight:700;color:#0f1c2e;margin:46px 0 18px;padding:0 0 12px 14px;border-left:5px solid #6b5ce7;border-bottom:1px solid #eef2f7;letter-spacing:.3px\" id=\"sec-6\">\u516d\u3001\u5c0f\u7ed3<\/h2>\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\">\u628a\u6e32\u67d3\u7ba1\u7ebf\u7406\u89e3\u900f\uff0cFlutter \u7684\u5176\u4f59\u77e5\u8bc6\u4f1a\u81ea\u7136\u6210\u4f53\u7cfb\u3002\u7248\u672c\u65b9\u9762\uff0cFlutter \u7a33\u5b9a\u7248\u4e0e Dart SDK \u6301\u7eed\u5feb\u901f\u8fed\u4ee3\uff08Dart \u5df2\u8fdb\u5165 3.x \u4e16\u4ee3\uff09\uff0c<strong style=\"color:#0f1c2e;font-weight:600\">\u9762\u8bd5\u4e2d\u4e0d\u5fc5\u7ea0\u7ed3\u5177\u4f53\u7248\u672c\u53f7\uff0c\u91cd\u70b9\u8bb2\u6e05\u673a\u5236\u4e0e\u6743\u8861<\/strong>\u3002<\/p>\n<hr style=\"border:none;border-top:1px solid #eaeef4;margin:34px 0\">\n<p style=\"font-size:16.2px;line-height:1.95;color:#35435c;margin:16px 0;letter-spacing:.2px\"><em style=\"color:#5a6b85;font-style:normal;background:#6b5ce71f;padding:1px 4px;border-radius:4px\">\u5ef6\u4f38\u9605\u8bfb\uff1a<a href=\"https:\/\/docs.flutter.dev\/\" target=\"_blank\" rel=\"noopener\" style=\"color:#6b5ce7;text-decoration:none;border-bottom:1px solid #6b5ce766;transition:opacity .15s\">Flutter \u5b98\u65b9\u6587\u6863<\/a>\u3001<a href=\"https:\/\/dart.dev\/\" target=\"_blank\" rel=\"noopener\" style=\"color:#6b5ce7;text-decoration:none;border-bottom:1px solid #6b5ce766;transition:opacity .15s\">Dart \u5b98\u65b9\u6587\u6863<\/a>\u3002\u7248\u672c\u4fe1\u606f\u4ee5 Flutter \u5b98\u65b9 Release \u5143\u6570\u636e\u4e3a\u51c6\u3002<\/em><\/p>\n<div style=\"margin:42px 0 0;padding:22px 0 0;border-top:1px solid #eaeef4\">\n<div style=\"font-size:13px;color:#93a1b5;letter-spacing:1px;margin-bottom:12px\">\u6807\u7b7e<\/div>\n<p><span style=\"display:inline-block;background:#f3f6fa;border:1px solid #e4eaf2;color:#5b6c85;font-size:13px;padding:5px 12px;border-radius:999px;margin:0 8px 8px 0\">#Flutter<\/span><span style=\"display:inline-block;background:#f3f6fa;border:1px solid #e4eaf2;color:#5b6c85;font-size:13px;padding:5px 12px;border-radius:999px;margin:0 8px 8px 0\">#\u79fb\u52a8\u7aef\u9762\u8bd5<\/span><span style=\"display:inline-block;background:#f3f6fa;border:1px solid #e4eaf2;color:#5b6c85;font-size:13px;padding:5px 12px;border-radius:999px;margin:0 8px 8px 0\">#Dart<\/span><span style=\"display:inline-block;background:#f3f6fa;border:1px solid #e4eaf2;color:#5b6c85;font-size:13px;padding:5px 12px;border-radius:999px;margin:0 8px 8px 0\">#\u9762\u8bd5<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Flutter \u9762\u8bd5\u56db\u5c42\u8003\u70b9\uff1a\u4e09\u68f5\u6811\u4e0e\u6e32\u67d3\u7ba1\u7ebf\u3001\u72b6\u6001\u7ba1\u7406\u9009\u578b\u3001\u6027\u80fd\u4f18\u5316\uff08build \u91cd\u6d3b\u3001Shader \u7f16\u8bd1\u3001Isolate\u3001const\uff09\u3001\u6df7\u5408\u5f00\u53d1\u4e0e\u5305\u4f53\u79ef\u3002\u9644\u5e38\u89c1\u8ffd\u95ee\u9677\u9631\u4e0e\u9ad8\u5206\u7b54\u6cd5\u3002<\/p>\n","protected":false},"author":1,"featured_media":162,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,11],"tags":[75,40,74,66],"class_list":["post-98","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile-question-bank","category-question-bank","tag-dart","tag-flutter","tag-74","tag-66"],"_links":{"self":[{"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":2,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":331,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions\/331"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/media\/162"}],"wp:attachment":[{"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ziliaochi.cn\/index.php\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}