{"id":71006,"date":"2026-02-03T00:24:53","date_gmt":"2026-02-02T16:24:53","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/71006.html"},"modified":"2026-02-03T00:24:53","modified_gmt":"2026-02-02T16:24:53","slug":"flutter-for-openharmony%ef%bc%9a%e6%b6%88%e5%a4%b1%e6%9c%af-%e6%b7%a1%e5%85%a5%e6%b7%a1%e5%87%ba-fade-through-%e4%b8%8e-%e7%bc%a9%e6%94%be%e5%b1%95%e7%a4%ba-fade-scale","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/71006.html","title":{"rendered":"Flutter for OpenHarmony\uff1a\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale)"},"content":{"rendered":"<h2>Flutter for OpenHarmony&#xff1a;\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale)<\/h2>\n<h3>\u524d\u8a00<\/h3>\n<p>\u5728\u79fb\u52a8\u7aef UI \u8bbe\u8ba1\u4e2d&#xff0c;\u9875\u9762\u7684\u8f6c\u573a\u5f80\u5f80\u51b3\u5b9a\u4e86\u5e94\u7528\u7684\u201c\u6027\u683c\u201d\u3002\u5982\u679c\u8bf4 \u5bb9\u5668\u8f6c\u6362 (Container Transform) \u662f\u534e\u4e3d\u7684\u821e\u53f0\u5267&#xff0c;\u5171\u4eab\u8f74\u8fc7\u6e21 (Shared Axis) \u662f\u4e25\u8c28\u7684\u903b\u8f91\u6d41&#xff0c;\u90a3\u4e48 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale) \u5c31\u662f\u6df1\u85cf\u4e0d\u9732\u7684\u201c\u6d88\u5931\u672f\u201d\u3002<\/p>\n<p>\u8fd9\u4e24\u7c7b\u52a8\u6548\u4e0d\u8ffd\u6c42\u7a7a\u95f4\u4e0a\u7684\u4f4d\u79fb\u6216\u62c9\u4f38&#xff0c;\u800c\u662f\u901a\u8fc7\u900f\u660e\u5ea6\u4e0e\u5fae\u5c0f\u7684\u6bd4\u4f8b\u53d8\u5316&#xff0c;\u5728\u89c6\u89c9\u4e0a\u5b9e\u73b0\u5185\u5bb9\u7684\u539f\u4f4d\u66ff\u6362\u3002\u5bf9\u4e8e\u9e3f\u8499\u7cfb\u7edf&#xff08;OpenHarmony&#xff09;\u8fd9\u79cd\u5f3a\u8c03\u7b80\u6d01\u3001\u9ad8\u6548\u4ea4\u4e92\u7684\u751f\u6001\u73af\u5883&#xff0c;\u638c\u63e1\u8fd9\u4e24\u7c7b\u201c\u8f7b\u91cf\u7ea7\u201d\u52a8\u6548&#xff0c;\u662f\u63d0\u5347\u5e94\u7528\u8d28\u611f\u7684\u5173\u952e\u3002\u672c\u6587\u5c06\u5e26\u5927\u5bb6\u6df1\u5165\u63a2\u7a76\u5176\u5e95<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260202162450-6980cfd2d50ec.gif\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>\u4e00\u3001 \u6de1\u5165\u6de1\u51fa (Fade Through) \u6a21\u5f0f<\/h3>\n<h3>\u4e00\u3001 \u6df1\u5ea6\u89e3\u6790&#xff1a;\u6de1\u5165\u6de1\u51fa (Fade Through) \u6a21\u5f0f<\/h3>\n<h4>1.1 \u4ec0\u4e48\u662f Fade Through&#xff1f;<\/h4>\n<p>Fade Through \u5e76\u4e0d\u662f\u7b80\u5355\u7684\u900f\u660e\u5ea6\u4ece 0 \u5230 1 \u7684\u7ebf\u6027\u53d8\u5316\u3002\u5728 Material Motion \u8bbe\u8ba1\u89c4\u8303\u4e2d&#xff0c;\u5b83\u662f\u4e00\u79cd\u201c\u5206\u9636\u6bb5\u201d\u7684\u884c\u4e3a&#xff1a;<\/p>\n<li>\u9000\u51fa\u9636\u6bb5&#xff1a;\u65e7\u5143\u7d20\u5b8c\u5168\u6de1\u51fa&#xff0c;\u5e76\u4f34\u968f\u4ece 100% \u7f29\u5c0f\u5230\u7ea6 92% \u7684\u5fae\u5f31\u574d\u7f29\u6548\u679c\u3002<\/li>\n<li>\u8fdb\u5165\u9636\u6bb5&#xff1a;\u65b0\u5143\u7d20\u4ece 92% \u7684\u6bd4\u4f8b\u5f00\u59cb\u653e\u5927&#xff0c;\u540c\u65f6\u6de1\u5165\u5230\u5b8c\u5168\u53ef\u89c1\u3002<\/li>\n<p>\u8fd9\u79cd\u8bbe\u8ba1\u5de7\u5999\u5730\u5229\u7528\u4e86\u4eba\u773c\u7684\u201c\u89c6\u89c9\u586b\u5145\u201d\u6548\u5e94&#xff0c;\u8ba9\u5185\u5bb9\u66ff\u6362\u770b\u8d77\u6765\u50cf\u662f\u201c\u5728\u7a7a\u95f4\u6df1\u5904\u5b8c\u6210\u4e86\u66f4\u66ff\u201d&#xff0c;\u800c\u4e0d\u662f\u5728\u8868\u9762\u4e0a\u786c\u751f\u751f\u5730\u91cd\u53e0\u3002<\/p>\n<h4>1.2 \u4f55\u65f6\u4f7f\u7528 Fade Through&#xff1f;<\/h4>\n<p>&#x1f4cc; \u6838\u5fc3\u573a\u666f&#xff1a;\u5e95\u90e8\u5bfc\u822a\u680f (BottomNavigationBar) \u5207\u6362\u3002 \u5f53\u7528\u6237\u5728\u201c\u9996\u9875\u201d\u3001\u201c\u6d88\u606f\u201d\u3001\u201c\u4e2a\u4eba\u4e2d\u5fc3\u201d\u8fd9\u7c7b\u5e76\u5217\u5173\u7cfb\u4e14\u7a7a\u95f4\u4f4d\u7f6e\u91cd\u5408\u7684\u9875\u9762\u95f4\u5207\u6362\u65f6&#xff0c;Fade Through \u662f\u6700\u5177\u8fa8\u8bc6\u5ea6\u4e14\u6700\u4e0d\u6253\u6270\u7528\u6237\u7684\u65b9\u6848\u3002<\/p>\n<h4>1.3 \u6838\u5fc3\u7ec4\u4ef6&#xff1a;PageTransitionSwitcher<\/h4>\n<p>\u4e3a\u4e86\u5b9e\u73b0 Fade Through&#xff0c;\u6211\u4eec\u4e0d\u80fd\u4f7f\u7528\u7cfb\u7edf\u7684 Navigator.push&#xff0c;\u800c\u5e94\u8be5\u4f7f\u7528 animations \u5e93\u63d0\u4f9b\u7684 PageTransitionSwitcher\u3002\u5b83\u80fd\u591f\u540c\u65f6\u6301\u6709\u65b0\u65e7\u4e24\u4e2a\u5b50\u7ec4\u4ef6&#xff0c;\u5e76\u534f\u8c03\u5b83\u4eec\u7684\u52a8\u753b\u3002<\/p>\n<p><span class=\"token comment\">\/\/ &#x1f4a1; \u5c01\u88c5\u4e00\u4e2a\u901a\u7528\u7684\u6de1\u5165\u6de1\u51fa\u5bfc\u822a\u5916\u5c42<\/span><br \/>\n<span class=\"token keyword\">class<\/span> <span class=\"token class-name\">FadeThroughNavigator<\/span> <span class=\"token keyword\">extends<\/span> <span class=\"token class-name\">StatelessWidget<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token keyword\">final<\/span> int currentIndex<span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token keyword\">final<\/span> <span class=\"token class-name\">List<\/span><span class=\"token generics\"><span class=\"token punctuation\">&lt;<\/span><span class=\"token class-name\">Widget<\/span><span class=\"token punctuation\">&gt;<\/span><\/span> pages<span class=\"token punctuation\">;<\/span><\/p>\n<p>  <span class=\"token keyword\">const<\/span> <span class=\"token class-name\">FadeThroughNavigator<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">super<\/span><span class=\"token punctuation\">.<\/span>key<span class=\"token punctuation\">,<\/span><br \/>\n    required <span class=\"token keyword\">this<\/span><span class=\"token punctuation\">.<\/span>currentIndex<span class=\"token punctuation\">,<\/span><br \/>\n    required <span class=\"token keyword\">this<\/span><span class=\"token punctuation\">.<\/span>pages<br \/>\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>  <span class=\"token metadata function\">&#064;override<\/span><br \/>\n  <span class=\"token class-name\">Widget<\/span> <span class=\"token function\">build<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">BuildContext<\/span> context<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token class-name\">PageTransitionSwitcher<\/span><span class=\"token punctuation\">(<\/span><br \/>\n      <span class=\"token comment\">\/\/ &#x1f3a8; \u52a8\u753b\u65f6\u957f&#xff1a;\u9e3f\u8499\u5efa\u8bae 300ms \u4ee5\u5185<\/span><br \/>\n      duration<span class=\"token punctuation\">:<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token class-name\">Duration<\/span><span class=\"token punctuation\">(<\/span>milliseconds<span class=\"token punctuation\">:<\/span> <span class=\"token number\">300<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      transitionBuilder<span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">(<\/span><br \/>\n        <span class=\"token class-name\">Widget<\/span> child<span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token class-name\">Animation<\/span><span class=\"token generics\"><span class=\"token punctuation\">&lt;<\/span>double<span class=\"token punctuation\">&gt;<\/span><\/span> primaryAnimation<span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token class-name\">Animation<\/span><span class=\"token generics\"><span class=\"token punctuation\">&lt;<\/span>double<span class=\"token punctuation\">&gt;<\/span><\/span> secondaryAnimation<span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token comment\">\/\/ \u5173\u952e&#xff1a;\u5c06\u4e24\u4e2a\u52a8\u753b\u5e8f\u5217\u4f20\u7ed9 FadeThroughTransition<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token class-name\">FadeThroughTransition<\/span><span class=\"token punctuation\">(<\/span><br \/>\n          animation<span class=\"token punctuation\">:<\/span> primaryAnimation<span class=\"token punctuation\">,<\/span>           <span class=\"token comment\">\/\/ \u63a7\u5236\u5f53\u524d\u9875\u9762\u7684\u8fdb\u5165<\/span><br \/>\n          secondaryAnimation<span class=\"token punctuation\">:<\/span> secondaryAnimation<span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ \u63a7\u5236\u65e7\u9875\u9762\u7684\u9000\u51fa<\/span><br \/>\n          child<span class=\"token punctuation\">:<\/span> child<span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n      <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      child<span class=\"token punctuation\">:<\/span> pages<span class=\"token punctuation\">[<\/span>currentIndex<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ \u5207\u6362 child \u65f6\u89e6\u53d1\u52a8\u753b<\/span><br \/>\n    <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<hr \/>\n<h3>\u4e8c\u3001 \u9b54\u6cd5\u91cd\u73b0&#xff1a;\u7f29\u653e\u5c55\u793a (Fade Scale) \u6a21\u5f0f<\/h3>\n<h4>2.1 \u4ec0\u4e48\u662f Fade Scale&#xff1f;<\/h4>\n<p>\u5982\u679c\u8bf4 Fade Through \u5904\u7406\u7684\u662f\u201c\u5168\u5c4f\u5185\u5bb9\u7684\u66ff\u6362\u201d&#xff0c;\u90a3\u4e48 Fade Scale \u5904\u7406\u7684\u5c31\u662f\u201c\u5c40\u90e8\u5143\u7d20\u7684\u51fa\u73b0\u201d\u3002\u5b83\u901a\u8fc7\u4e2d\u5fc3\u70b9\u7684\u5fae\u5c0f\u7f29\u653e\u914d\u5408\u900f\u660e\u5ea6\u53d8\u5316&#xff0c;\u8d4b\u4e88\u7ec4\u4ef6\u4e00\u79cd\u201c\u7531\u70b9\u53ca\u9762\u201d\u7684\u751f\u957f\u611f\u3002<\/p>\n<h4>2.2 \u9002\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u6a21\u6001\u5bf9\u8bdd\u6846 (AlertDialog)&#xff1a;\u6bd4\u7cfb\u7edf\u7684\u9ed8\u8ba4\u5f39\u51fa\u66f4\u6709\u9ad8\u7ea7\u611f\u3002<\/li>\n<li>\u6d6e\u52a8\u64cd\u4f5c\u6309\u94ae\u83dc\u5355 (FAB Menu)&#xff1a;\u4ece\u6309\u94ae\u4e2d\u5fc3\u5f39\u51fa\u7684\u5b50\u83dc\u5355\u3002<\/li>\n<li>\u4e0a\u4e0b\u6587\u83dc\u5355 (Pop-up Menu)\u3002<\/li>\n<\/ul>\n<h4>2.3 \u6838\u5fc3 API \u5b9e\u6218&#xff1a;showModal<\/h4>\n<p>animations \u5e93\u5185\u7f6e\u4e86\u4e00\u4e2a\u589e\u5f3a\u7248\u7684 showModal&#xff0c;\u5b83\u80fd\u81ea\u52a8\u5904\u7406 Overlay \u5c42\u7ea7\u7684\u7ba1\u7406&#xff0c;\u5e76\u6ce8\u5165 FadeScaleTransitionConfiguration\u3002<\/p>\n<p><span class=\"token keyword\">void<\/span> <span class=\"token function\">_showCustomDialog<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">BuildContext<\/span> context<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token function\">showModal<\/span><span class=\"token punctuation\">(<\/span><br \/>\n    context<span class=\"token punctuation\">:<\/span> context<span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token comment\">\/\/ &#x1f4cc; \u914d\u7f6e&#xff1a;\u5f00\u542f\u7f29\u653e\u6de1\u5165\u6a21\u5f0f<\/span><br \/>\n    configuration<span class=\"token punctuation\">:<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token class-name\">FadeScaleTransitionConfiguration<\/span><span class=\"token punctuation\">(<\/span><br \/>\n      barrierColor<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Colors<\/span><span class=\"token punctuation\">.<\/span>black54<span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ \u906e\u7f69\u989c\u8272<\/span><br \/>\n      barrierDismissible<span class=\"token punctuation\">:<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span>    <span class=\"token comment\">\/\/ \u70b9\u51fb\u80cc\u666f\u53ef\u5173\u95ed<\/span><br \/>\n      duration<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Duration<\/span><span class=\"token punctuation\">(<\/span>milliseconds<span class=\"token punctuation\">:<\/span> <span class=\"token number\">200<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    builder<span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token class-name\">BuildContext<\/span> context<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token keyword\">return<\/span> <span class=\"token class-name\">AlertDialog<\/span><span class=\"token punctuation\">(<\/span><br \/>\n        shape<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">RoundedRectangleBorder<\/span><span class=\"token punctuation\">(<\/span>borderRadius<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">BorderRadius<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">circular<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">24<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        title<span class=\"token punctuation\">:<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token class-name\">Text<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-literal\"><span class=\"token string\">&#039;\u53d1\u73b0\u65b0\u7248\u672c&#039;<\/span><\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        content<span class=\"token punctuation\">:<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token class-name\">Text<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-literal\"><span class=\"token string\">&#039;OpenHarmony \u9002\u914d\u5c42\u5df2\u66f4\u65b0&#xff0c;\u662f\u5426\u7acb\u5373\u4e0b\u8f7d&#xff1f;&#039;<\/span><\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        actions<span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n          <span class=\"token class-name\">TextButton<\/span><span class=\"token punctuation\">(<\/span><br \/>\n            onPressed<span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token class-name\">Navigator<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">pop<\/span><span class=\"token punctuation\">(<\/span>context<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            child<span class=\"token punctuation\">:<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token class-name\">Text<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-literal\"><span class=\"token string\">&#039;\u7a0d\u540e\u518d\u8bf4&#039;<\/span><\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n          <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n          <span class=\"token class-name\">ElevatedButton<\/span><span class=\"token punctuation\">(<\/span><br \/>\n            onPressed<span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token class-name\">Navigator<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">pop<\/span><span class=\"token punctuation\">(<\/span>context<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            child<span class=\"token punctuation\">:<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token class-name\">Text<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-literal\"><span class=\"token string\">&#039;\u7acb\u5373\u66f4\u65b0&#039;<\/span><\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n          <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260202162451-6980cfd3bca66.gif\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>\u4e09\u3001 \u56db\u5927\u6a21\u5f0f\u6df1\u5ea6\u5bf9\u6bd4\u6e05\u5355<\/h3>\n<p>\u4e3a\u4e86\u8ba9\u5927\u5bb6\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\u4e0d\u518d\u8ff7\u832b&#xff0c;\u6211\u6574\u7406\u4e86\u8fd9\u56db\u4e2a\u8f6c\u573a\u6a21\u5f0f\u7684\u5bf9\u6bd4\u8868&#xff1a;<\/p>\n<table>\n<tr>\u6a21\u5f0f\u89c6\u89c9\u7279\u5f81\u7a7a\u95f4\u611f\u5efa\u8bae\u573a\u666f\u9e3f\u8499\u9002\u914d\u6ce8\u610f\u70b9<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">Container Transform<\/td>\n<td align=\"left\">\u6269\u5f20\/\u6536\u7f29<\/td>\n<td align=\"left\">\u5f3a (\u7236\u5b50\u5173\u7cfb)<\/td>\n<td align=\"left\">\u5217\u8868\/\u5361\u7247\u8df3\u8f6c\u8be6\u60c5<\/td>\n<td align=\"left\">\u907f\u514d\u5927\u9634\u5f71\u5bfc\u81f4\u7684\u6389\u5e27<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Shared Axis<\/td>\n<td align=\"left\">\u5e73\u6ed1\u4f4d\u79fb<\/td>\n<td align=\"left\">\u5f3a (\u540c\u7ea7\u7ebf\u6027)<\/td>\n<td align=\"left\">\u6ce8\u518c\u6d41\u7a0b\u3001\u8bbe\u7f6e\u5207\u6362<\/td>\n<td align=\"left\">\u9632\u8303\u4fa7\u6ed1\u8fd4\u56de\u624b\u52bf\u51b2\u7a81<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Fade Through<\/td>\n<td align=\"left\">\u539f\u4f4d\u6de1\u6362<\/td>\n<td align=\"left\">\u5f31 (\u5185\u5bb9\u5207\u6362)<\/td>\n<td align=\"left\">\u5e95\u90e8\u5bfc\u822a\u680f\u5207\u6362<\/td>\n<td align=\"left\">\u5904\u7406\u597d\u5e95\u90e8 NavigationBar \u9ad8\u5ea6<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Fade Scale<\/td>\n<td align=\"left\">\u4e2d\u5fc3\u51fa\u5165<\/td>\n<td align=\"left\">\u5f31 (\u5c40\u90e8\u5f39\u51fa)<\/td>\n<td align=\"left\">\u5bf9\u8bdd\u6846\u3001\u60ac\u6d6e\u83dc\u5355<\/td>\n<td align=\"left\">\u9488\u5bf9\u9ad8\u5237\u5c4f\u5fae\u8c03 Duration<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u56db\u3001 OpenHarmony \u5e73\u53f0\u9002\u914d\u8fdb\u9636\u4f18\u5316<\/h3>\n<p>\u5728\u9e3f\u8499\u8bbe\u5907&#xff08;\u5c24\u5176\u662f\u642d\u8f7d\u9e92\u9e9f\u82af\u7247\u3001\u5177\u6709 120Hz \u9ad8\u5237\u7279\u6027\u7684\u8bbe\u5907&#xff09;\u4e0a\u8fd0\u884c Flutter \u52a8\u753b&#xff0c;\u6709\u4ee5\u4e0b\u51e0\u4e2a\u9ad8\u7ea7\u4f18\u5316\u70b9&#xff1a;<\/p>\n<h4>4.1 \u5904\u7406\u201c\u5e73\u884c\u89c6\u754c\u201d\u73af\u5883<\/h4>\n<p>\u9e3f\u8499\u5e73\u677f\u7279\u6709\u7684\u201c\u5e73\u884c\u89c6\u754c\u201d(Magic Window) \u4f1a\u5bfc\u81f4\u5c4f\u5e55\u5bbd\u5ea6\u5728\u8fd0\u884c\u65f6\u52a8\u6001\u53d8\u5316\u3002<\/p>\n<ul>\n<li>\u26a0\ufe0f \u6ce8\u610f&#xff1a;\u5728\u4f7f\u7528 Fade Through \u5207\u6362\u9875\u9762\u65f6&#xff0c;\u786e\u4fdd\u5185\u90e8\u7ec4\u4ef6\u901a\u8fc7 LayoutBuilder \u83b7\u53d6\u5b9e\u65f6\u5bbd\u5ea6&#xff0c;\u5426\u5219\u52a8\u753b\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u51fa\u73b0\u5e03\u5c40\u8df3\u53d8\u3002<\/li>\n<\/ul>\n<h4>4.2 \u9002\u914d\u7cfb\u7edf\u7ea7\u8fd4\u56de\u624b\u52bf<\/h4>\n<p>\u9e3f\u8499\u7684\u8fb9\u7f18\u4fa7\u6ed1\u8fd4\u56de\u662f\u4e00\u4e2a\u5168\u5c40\u624b\u52bf\u3002<\/p>\n<ul>\n<li>\u2705 \u63a8\u8350&#xff1a;\u5728\u5168\u5c4f Fade Through \u9875\u9762\u4e2d\u4f7f\u7528 PopScope \u62e6\u622a\u3002\u5982\u679c\u5f53\u524d\u9875\u9762\u662f\u4e00\u4e2a\u591a\u6b65\u9aa4\u8868\u5355&#xff0c;\u5efa\u8bae\u5728 onPopInvoked \u4e2d\u8c03\u7528\u53cd\u5411\u52a8\u753b&#xff0c;\u800c\u4e0d\u662f\u76f4\u63a5\u6740\u6389\u6574\u4e2a Activity\u3002<\/li>\n<\/ul>\n<h4>4.3 \u6e32\u67d3\u6027\u80fd\u8c03\u4f18&#xff1a;Canvas \u91cd\u7ed8<\/h4>\n<p>FadeThroughTransition \u6d89\u53ca\u65b0\u65e7\u4e24\u4e2a Layer \u7684\u6df7\u5408\u6e32\u67d3\u3002<\/p>\n<ul>\n<li>&#x1f4a1; \u6280\u5de7&#xff1a;\u5728\u9e3f\u8499\u771f\u673a\u4e0a&#xff0c;\u5982\u679c\u53d1\u73b0\u5207\u6362\u65f6\u6709\u8f7b\u5fae\u5361\u987f&#xff0c;\u8bf7\u68c0\u67e5 child \u662f\u5426\u5305\u542b\u6781\u5176\u590d\u6742\u7684 BoxShadow \u6216\u8005\u672a\u4f18\u5316\u7684 BackdropFilter\u3002<\/li>\n<li>\u2705 \u505a\u6cd5&#xff1a;\u5728 AOT \u7f16\u8bd1\u6a21\u5f0f\u4e0b\u8fd0\u884c\u3002Flutter \u5728\u9e3f\u8499\u4e0a\u7684 AOT \u6027\u80fd\u8fdc\u8d85 JIT&#xff0c;\u80fd\u591f\u4fdd\u8bc1 120Hz \u7684\u6e32\u67d3\u7a33\u5b9a\u6027\u3002<\/li>\n<\/ul>\n<p><span class=\"token comment\">\/\/ \u5728\u9e3f\u8499\u7ec8\u7aef\u8fd0\u884c Release \u6a21\u5f0f\u67e5\u770b\u771f\u5b9e\u52a8\u753b\u8868\u73b0<\/span><br \/>\nflutter run <span class=\"token operator\">&#8212;<\/span>release<\/p>\n<hr \/>\n<h3>\u4e94\u3001 \u5e38\u89c1\u95ee\u9898 (FAQ) \u907f\u5751\u6307\u5357<\/h3>\n<p>Q1: \u4f7f\u7528 PageTransitionSwitcher \u65f6&#xff0c;\u9875\u9762\u5207\u6362\u6ca1\u6709\u52a8\u753b&#xff0c;\u76f4\u63a5\u95ea\u73b0&#xff1f;<\/p>\n<p>A: \u68c0\u67e5\u4f60\u7684 child \u662f\u5426\u8bbe\u7f6e\u4e86\u552f\u4e00\u7684 Key\u3002Flutter \u5fc5\u987b\u901a\u8fc7\u4e0d\u540c\u7684 ValueKey \u6765\u8bc6\u522b Widget \u6811\u7684\u53d8\u66f4&#xff0c;\u4ece\u800c\u89e6\u53d1\u8f6c\u573a\u3002<\/p>\n<p>Q2: \u52a8\u753b\u8fc7\u7a0b\u4e2d\u80cc\u666f\u53d8\u767d\u6216\u9ed1\u5c4f&#xff1f;<\/p>\n<p>A: \u786e\u4fdd PageTransitionSwitcher \u7684\u7236\u5bb9\u5668\u6709\u660e\u786e\u7684\u80cc\u666f\u8272\u3002Fade \u7cfb\u5217\u52a8\u753b\u5728\u6df7\u5408\u8fc7\u7a0b\u4e2d\u5982\u679c\u6ca1\u6709\u5e95\u8272\u652f\u6491&#xff0c;\u53ef\u80fd\u4f1a\u9732\u51fa\u5e95\u5c42 Scaffold \u7684\u80cc\u666f\u3002<\/p>\n<p>Q3: \u4e3a\u4ec0\u4e48 showModal \u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u6bd4\u539f\u751f\u6162&#xff1f;<\/p>\n<p>A: \u8fd9\u662f\u56e0\u4e3a Material Motion \u7684\u6807\u51c6\u9ed8\u8ba4\u65f6\u957f&#xff08;300ms&#xff09;\u6bd4\u9e3f\u8499\u7cfb\u7edf\u539f\u751f\u5feb\u5f39&#xff08;\u7ea6 150-200ms&#xff09;\u7a0d\u957f\u3002\u901a\u8fc7\u81ea\u5b9a\u4e49 configuration \u4e2d\u7684 duration \u5373\u53ef\u540c\u6b65\u8d28\u611f\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001 \u603b\u7ed3<\/h3>\n<p>\u6de1\u5165\u6de1\u51fa\u4e0e\u7f29\u653e\u5c55\u793a\u867d\u7136\u5728\u89c6\u89c9\u4e0a\u6bd4\u5bb9\u5668\u8f6c\u6362\u66f4\u201c\u5e73\u5b9e\u201d&#xff0c;\u4f46\u5b83\u4eec\u627f\u8f7d\u4e86\u5e94\u7528\u4e2d\u6700\u5e38\u89c1\u7684\u4ea4\u4e92\u903b\u8f91\u3002<\/p>\n<ul>\n<li>&#x1f3a8; Fade Through \u7406\u987a\u4e86\u5e76\u5217\u6a21\u5757\u95f4\u7684\u8df3\u8f6c&#xff0c;\u51cf\u5c11\u4e86\u89c6\u89c9\u6742\u8baf\u3002<\/li>\n<li>&#x1f3a8; Fade Scale \u4f18\u5316\u4e86\u6a21\u6001\u53cd\u9988&#xff0c;\u8ba9\u5bf9\u8bdd\u6846\u4e0d\u518d\u662f\u201c\u7a81\u7136\u95ea\u73b0\u201d\u3002<\/li>\n<\/ul>\n<p>\u5728 Flutter for OpenHarmony \u7684\u5f00\u53d1\u65c5\u9014\u4e2d&#xff0c;\u7ec6\u8282\u51b3\u5b9a\u6210\u8d25\u3002\u638c\u63e1\u4e86\u8fd9\u5957\u201c\u6d88\u5931\u672f\u201d&#xff0c;\u4f60\u7684\u9e3f\u8499\u5e94\u7528\u5c06\u5177\u5907\u4e0e\u751f\u4ff1\u6765\u7684\u4f18\u96c5\u3002<\/p>\n<hr \/>\n<p>&#x1f4e6; \u5b8c\u6574\u4ee3\u7801\u5df2\u4e0a\u4f20\u81f3 AtomGit&#xff1a;animations_demo<\/p>\n<p>&#x1f310; \u6b22\u8fce\u52a0\u5165\u5f00\u6e90\u9e3f\u8499\u8de8\u5e73\u53f0\u793e\u533a&#xff1a;\u5f00\u6e90\u9e3f\u8499\u8de8\u5e73\u53f0\u5f00\u53d1\u8005\u793e\u533a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flutter for OpenHarmony&#xff1a;\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale)<br \/>\n\u524d\u8a00<br \/>\n\u5728\u79fb\u52a8\u7aef UI \u8bbe\u8ba1\u4e2d&#xff0c;\u9875\u9762\u7684\u8f6c\u573a\u5f80\u5f80\u51b3\u5b9a\u4e86\u5e94\u7528\u7684\u201c\u6027\u683c\u201d\u3002\u5982\u679c\u8bf4 \u5bb9\u5668\u8f6c\u6362 (Container Transform) \u662f\u534e\u4e3d\u7684\u821e\u53f0\u5267&#xff0c;\u5171\u4eab\u8f74\u8fc7\u6e21 (Shared Axis) \u662f\u4e25\u8c28\u7684\u903b\u8f91\u6d41&#xff0c;\u90a3\u4e48 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scal<\/p>\n","protected":false},"author":2,"featured_media":71004,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2878,280,1737],"topic":[],"class_list":["post-71006","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-flutter","tag-harmonyos","tag-1737"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Flutter for OpenHarmony\uff1a\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale) - \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\/71006.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flutter for OpenHarmony\uff1a\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Flutter for OpenHarmony&#xff1a;\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale) \u524d\u8a00 \u5728\u79fb\u52a8\u7aef UI \u8bbe\u8ba1\u4e2d&#xff0c;\u9875\u9762\u7684\u8f6c\u573a\u5f80\u5f80\u51b3\u5b9a\u4e86\u5e94\u7528\u7684\u201c\u6027\u683c\u201d\u3002\u5982\u679c\u8bf4 \u5bb9\u5668\u8f6c\u6362 (Container Transform) \u662f\u534e\u4e3d\u7684\u821e\u53f0\u5267&#xff0c;\u5171\u4eab\u8f74\u8fc7\u6e21 (Shared Axis) \u662f\u4e25\u8c28\u7684\u903b\u8f91\u6d41&#xff0c;\u90a3\u4e48 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scal\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/71006.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-02T16:24:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260202162450-6980cfd2d50ec.gif\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71006.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/71006.html\",\"name\":\"Flutter for OpenHarmony\uff1a\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-02T16:24:53+00:00\",\"dateModified\":\"2026-02-02T16:24:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/71006.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/71006.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71006.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flutter for OpenHarmony\uff1a\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale)\"}]},{\"@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":"Flutter for OpenHarmony\uff1a\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale) - \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\/71006.html","og_locale":"zh_CN","og_type":"article","og_title":"Flutter for OpenHarmony\uff1a\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Flutter for OpenHarmony&#xff1a;\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale) \u524d\u8a00 \u5728\u79fb\u52a8\u7aef UI \u8bbe\u8ba1\u4e2d&#xff0c;\u9875\u9762\u7684\u8f6c\u573a\u5f80\u5f80\u51b3\u5b9a\u4e86\u5e94\u7528\u7684\u201c\u6027\u683c\u201d\u3002\u5982\u679c\u8bf4 \u5bb9\u5668\u8f6c\u6362 (Container Transform) \u662f\u534e\u4e3d\u7684\u821e\u53f0\u5267&#xff0c;\u5171\u4eab\u8f74\u8fc7\u6e21 (Shared Axis) \u662f\u4e25\u8c28\u7684\u903b\u8f91\u6d41&#xff0c;\u90a3\u4e48 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scal","og_url":"https:\/\/www.wsisp.com\/helps\/71006.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-02T16:24:53+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260202162450-6980cfd2d50ec.gif"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/71006.html","url":"https:\/\/www.wsisp.com\/helps\/71006.html","name":"Flutter for OpenHarmony\uff1a\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-02T16:24:53+00:00","dateModified":"2026-02-02T16:24:53+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/71006.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/71006.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/71006.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Flutter for OpenHarmony\uff1a\u6d88\u5931\u672f \u2014 \u6de1\u5165\u6de1\u51fa (Fade Through) \u4e0e \u7f29\u653e\u5c55\u793a (Fade Scale)"}]},{"@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\/71006","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=71006"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/71006\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/71004"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=71006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=71006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=71006"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=71006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}