{"id":316978,"date":"2021-01-26T15:01:55","date_gmt":"2021-01-26T15:01:55","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=316978"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=316978","title":{"rendered":"\u0412\u0441\u0435, \u0447\u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u0441 Flutter \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<blockquote>\n<p><em>\u0411\u0443\u0434\u0443\u0449\u0438\u0445 \u0443\u0447\u0430\u0449\u0438\u0445\u0441\u044f \u043d\u0430 \u043a\u0443\u0440\u0441\u0435 <\/em><a href=\"https:\/\/otus.pw\/CRDW\/\"><em>\u00abFlutter Mobile Developer\u00bb<\/em><\/a><em> \u0438 \u0432\u0441\u0435\u0445 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0445\u0441\u044f \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0435\u043c \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043e\u043d\u043b\u0430\u0439\u043d-\u0443\u0440\u043e\u043a \u043f\u043e \u0442\u0435\u043c\u0435 <\/em><a href=\"https:\/\/otus.pw\/Pw6k\/\"><em>\u00ab\u0413\u0440\u0430\u0444\u0438\u043a\u0430 \u0432\u043e Flutter\u00bb<\/em><\/a><em>. \u041d\u0430 \u0443\u0440\u043e\u043a\u0435 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043e\u043c-\u0432\u0435\u0434\u0443\u0449\u0438\u043c \u0440\u0430\u0437\u0431\u0435\u0440\u0443\u0442, \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433 \u0432\u043e Flutter \u0438 \u0438\u0437\u0443\u0447\u0430\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <\/em><code>dart:ui<\/code><em>.<\/p>\n<p>\u0410 \u0441\u0435\u0439\u0447\u0430\u0441 \u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430.<\/em><\/p>\n<\/blockquote>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/73f\/9fe\/904\/73f9fe9045d4de02cd5947d1b2ecbf36\" width=\"780\" height=\"439\"><figcaption><\/figcaption><\/figure>\n<hr>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8c7\/6eb\/f40\/8c76ebf4001ca9b0f1094bfaf9a215ba\" width=\"1600\" height=\"798\"><figcaption><\/figcaption><\/figure>\n<p>\u041c\u044b \u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a \u043b\u0435\u0433\u043a\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c\u0441\u044f \u0441 \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432 Flutter. \u041d\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438 \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c.<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c:<\/p>\n<pre><code class=\"go\">Navigator.push(     context,     MaterialPageRoute(builder: (context) =&gt; SecondRoute()),   );<\/code><\/pre>\n<p>\u0412\u044b\u0442\u0430\u0449\u0438\u0442\u044c:<\/p>\n<pre><code class=\"go\">Navigator.pop(context);<\/code><\/pre>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a. \u041d\u043e \u044d\u0442\u043e \u0441\u043a\u0443\u0447\u043d\u043e\u0432\u0430\u0442\u043e, \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435<\/p>\n<p>\u0412 <a href=\"http:\/\/bit.ly\/2KNpLo4\"><u>Winkl<\/u><\/a>, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0438\u0433\u0440\u0430\u0442\u044c \u0441 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439, \u043c\u044b \u043f\u043e\u043d\u044f\u043b\u0438, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043c\u043e\u0436\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0430\u0448 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u043c. \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u043c\u0435\u0442\u044c \u0441\u043b\u0430\u0439\u0434-\u043f\u0435\u0440\u0435\u0445\u043e\u0434, \u043a\u0430\u043a IOS \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 <code>CupertinoPageRoute<\/code>. \u0412\u043e\u0442 \u0438 \u0432\u0441\u0435, \u043d\u0438\u0447\u0435\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435.<\/p>\n<p>\u041d\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 Flutter \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 <a href=\"https:\/\/flutter.dev\/docs\/development\/ui\/widgets\/animation\"><u>\u0432\u0438\u0434\u0436\u0435\u0442\u044b \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430<\/u><\/a>. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>\u041c\u044b \u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e <code>Navigator.push<\/code> \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u0432\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 (<code>BuildContext context<\/code><em>, <\/em><code>Route&lt;T&gt; route<\/code>). \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0447\u043d\u0435\u043c \u0441 \u0447\u0435\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e, \u0432\u0440\u043e\u0434\u0435 \u0441\u043b\u0430\u0439\u0434-\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430.<\/p>\n<h3>\u0421\u043b\u0430\u0439\u0434-\u043f\u0435\u0440\u0435\u0445\u043e\u0434<\/h3>\n<p>\u041c\u044b \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u043c <code>PageRouteBuilder<\/code> \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c <code>transitionBuilder<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0435\u0440\u043d\u0435\u0442 \u0432\u0438\u0434\u0436\u0435\u0442 <code>SlideTransition<\/code>. \u0412\u0438\u0434\u0436\u0435\u0442 <code>SlideTransition<\/code> \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u0442\u0438\u043f\u0430 <code>Animation&lt;Offset&gt;<\/code>. \u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>Tween&lt;Offset&gt;<\/code> \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f.<\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class SlideRightRoute extends PageRouteBuilder {   final Widget page;   SlideRightRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               SlideTransition(                 position: Tween&lt;Offset&gt;(                   begin: const Offset(-1, 0),                   end: Offset.zero,                 ).animate(animation),                 child: child,               ),         ); }<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>SlideRightRoute<\/code> \u0432\u043c\u0435\u0441\u0442\u043e <code>MaterialPageRoute<\/code> \u0432\u043e\u0442 \u0442\u0430\u043a.<\/p>\n<pre><code>Navigator.push(context, SlideRightRoute(page: Screen2()))<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5f7\/354\/bde\/5f7354bdeff6c7ee604aa0db51de17dc.gif\" width=\"320\" height=\"640\"><figcaption><\/figcaption><\/figure>\n<\/p>\n<p>\u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438? \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043b\u0430\u0439\u0434-\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430, \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435.<\/p>\n<h3>\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0430<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0430 \u0430\u043d\u0438\u043c\u0438\u0440\u0443\u0435\u0442 \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0436\u0435\u0442\u0430. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438, \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u043a\u0440\u0438\u0432\u044b\u0435 <code>CurvedAnimation<\/code>. \u0412 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u043c \u043d\u0438\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b <code>Curves.fastOutSlowIn<\/code>.<\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class ScaleRoute extends PageRouteBuilder {   final Widget page;   ScaleRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               ScaleTransition(                 scale: Tween&lt;double&gt;(                   begin: 0.0,                   end: 1.0,                 ).animate(                   CurvedAnimation(                     parent: animation,                     curve: Curves.fastOutSlowIn,                   ),                 ),                 child: child,               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a33\/860\/06d\/a3386006d33d1c703b6fab37b3fa7fef.gif\" width=\"320\" height=\"640\"><figcaption><\/figcaption><\/figure>\n<h3>\u0420\u043e\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434<\/h3>\n<p>\u0420\u043e\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0430\u043d\u0438\u043c\u0438\u0440\u0443\u0435\u0442 \u0440\u043e\u0442\u0430\u0446\u0438\u044e \u0432\u0438\u0434\u0436\u0435\u0442\u0430. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c <code>transitionDuration<\/code> \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e <code>PageRouteBuilder<\/code><em>.<\/em><\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class RotationRoute extends PageRouteBuilder {   final Widget page;   RotationRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionDuration: Duration(seconds: 1),           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               RotationTransition(                 turns: Tween&lt;double&gt;(                   begin: 0.0,                   end: 1.0,                 ).animate(                   CurvedAnimation(                     parent: animation,                     curve: Curves.linear,                   ),                 ),                 child: child,               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/280\/a16\/3b2\/280a163b20683c8492642f7371b28759.gif\" width=\"320\" height=\"640\"><figcaption><\/figcaption><\/figure>\n<h3>\u0420\u0430\u0437\u043c\u0435\u0440\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 <\/h3>\n<p><a href=\"https:\/\/api.flutter.dev\/flutter\/widgets\/SizeTransition-class.html\">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/a><\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class SizeRoute extends PageRouteBuilder {   final Widget page;   SizeRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               Align(                 child: SizeTransition(                   sizeFactor: animation,                   child: child,                 ),               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/526\/e62\/eb4\/526e62eb4787442319cba8fc863c5ae4.gif\" width=\"320\" height=\"640\"><figcaption><\/figcaption><\/figure>\n<h3>\u0422\u0435\u043d\u0435\u0432\u043e\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434<\/h3>\n<p><a href=\"https:\/\/api.flutter.dev\/flutter\/widgets\/FadeTransition-class.html\">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/a><\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class FadeRoute extends PageRouteBuilder {   final Widget page;   FadeRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               FadeTransition(                 opacity: animation,                 child: child,               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/51d\/f7b\/a9e\/51df7ba9e5ae3a2101bb40e8ed8dccf9.gif\" width=\"320\" height=\"640\"><figcaption><\/figcaption><\/figure>\n<p>\u0417\u0434\u043e\u0440\u043e\u0432\u043e! \u041c\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438 \u0432\u0441\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u043e\u0435. \u0427\u0442\u043e \u0435\u0441\u043b\u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430. \u041c\u0430\u0440\u0448\u0440\u0443\u0442 \u0432\u0445\u043e\u0434\u0430 (\u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430) \u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0432\u044b\u0445\u043e\u0434\u0430 (\u0441\u0442\u0430\u0440\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430). \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u0432 \u0441\u0442\u0435\u043a \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0435\u0435 \u043a \u043e\u0431\u043e\u0438\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043c. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043b\u0430\u0439\u0434 \u0432 \u043d\u043e\u0432\u043e\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0435 \u0438 \u0441\u043b\u0430\u0439\u0434 \u0438\u0437 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430. \u042d\u0442\u043e \u043c\u043e\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class EnterExitRoute extends PageRouteBuilder {   final Widget enterPage;   final Widget exitPage;   EnterExitRoute({this.exitPage, this.enterPage})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               enterPage,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               Stack(                 children: &lt;Widget&gt;[                   SlideTransition(                     position: new Tween&lt;Offset&gt;(                       begin: const Offset(0.0, 0.0),                       end: const Offset(-1.0, 0.0),                     ).animate(animation),                     child: exitPage,                   ),                   SlideTransition(                     position: new Tween&lt;Offset&gt;(                       begin: const Offset(1.0, 0.0),                       end: Offset.zero,                     ).animate(animation),                     child: enterPage,                   )                 ],               ),         ); }<\/code><\/pre>\n<p>\u0418 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0435\u0433\u043e \u0432\u043e\u0442 \u0442\u0430\u043a.<\/p>\n<pre><code class=\"dart\">Navigator.push(context,     EnterExitRoute(exitPage: this, enterPage: Screen2()))<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e3d\/b45\/24e\/e3db4524ea456b730970ac2a05f406ae.gif\" width=\"320\" height=\"640\"><figcaption><\/figcaption><\/figure>\n<p>\u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u0438 \u0440\u043e\u0442\u0430\u0446\u0438\u044e \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0435\u0441\u0442\u044c <code>ScaleTransition<\/code>, \u0435\u0433\u043e \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <code>RotationTransition<\/code>, \u0430 \u0435\u0433\u043e \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u2014 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430.<\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class ScaleRotateRoute extends PageRouteBuilder {   final Widget page;   ScaleRotateRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionDuration: Duration(seconds: 1),           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               ScaleTransition(                 scale: Tween&lt;double&gt;(                   begin: 0.0,                   end: 1.0,                 ).animate(                   CurvedAnimation(                     parent: animation,                     curve: Curves.fastOutSlowIn,                   ),                 ),                 child: RotationTransition(                   turns: Tween&lt;double&gt;(                     begin: 0.0,                     end: 1.0,                   ).animate(                     CurvedAnimation(                       parent: animation,                       curve: Curves.linear,                     ),                   ),                   child: child,                 ),               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/72f\/9d5\/b31\/72f9d5b310ebb23d7f308a967d0c9b47.gif\" width=\"320\" height=\"640\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430, \u0440\u0435\u0431\u044f\u0442\u0430! \u042d\u0442\u043e \u0432\u0441\u0435, \u0447\u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043e\u0431 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043f\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443 \u0432 Flutter. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435. \u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u044d\u0442\u0438\u043c \u0441\u043e \u043c\u043d\u043e\u0439. \u0412\u0435\u0441\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0437\u0434\u0435\u0441\u044c \u043d\u0430 <a href=\"https:\/\/github.com\/divyanshub024\/Flutter-page-route-transition\"><u>GitHub repo<\/u><\/a>. \u0421\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441\u043e \u043c\u043d\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u0432 <a href=\"https:\/\/twitter.com\/divyanshub024\"><u>Twitter<\/u><\/a>, <a href=\"https:\/\/github.com\/divyanshub024\"><u>Github <\/u><\/a>\u0438 <a href=\"https:\/\/www.linkedin.com\/in\/divyanshub024\/\"><u>LinkedIn<\/u><\/a>.<\/p>\n<hr>\n<blockquote>\n<p><a href=\"https:\/\/otus.pw\/CRDW\/\"><strong>\u0423\u0437\u043d\u0430\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043a\u0443\u0440\u0441\u0435<\/strong><\/a><strong> \u00abFlutter Mobile Developer\u00bb.<\/p>\n<p><\/strong><a href=\"https:\/\/otus.pw\/Pw6k\/\"><strong>\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043e\u043d\u043b\u0430\u0439\u043d-\u0443\u0440\u043e\u043a<\/strong><\/a><strong> \u043f\u043e \u0442\u0435\u043c\u0435 \u00ab\u0413\u0440\u0430\u0444\u0438\u043a\u0430 \u0432\u043e Flutter\u00bb.<\/strong><\/p>\n<\/blockquote>\n<hr>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cc0\/5cf\/a23\/cc05cfa23d28dc4b16b00d7f1d035c6f.png\" width=\"1200\" height=\"628\"><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/otus.pw\/6sRG\/\"><strong>\u0417\u0410\u0411\u0420\u0410\u0422\u042c \u0421\u041a\u0418\u0414\u041a\u0423<\/strong><\/a><\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/otus\/blog\/539190\/\"> https:\/\/habr.com\/ru\/company\/otus\/blog\/539190\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<blockquote>\n<p><em>\u0411\u0443\u0434\u0443\u0449\u0438\u0445 \u0443\u0447\u0430\u0449\u0438\u0445\u0441\u044f \u043d\u0430 \u043a\u0443\u0440\u0441\u0435 <\/em><a href=\"https:\/\/otus.pw\/CRDW\/\"><em>\u00abFlutter Mobile Developer\u00bb<\/em><\/a><em> \u0438 \u0432\u0441\u0435\u0445 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0445\u0441\u044f \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0435\u043c \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043e\u043d\u043b\u0430\u0439\u043d-\u0443\u0440\u043e\u043a \u043f\u043e \u0442\u0435\u043c\u0435 <\/em><a href=\"https:\/\/otus.pw\/Pw6k\/\"><em>\u00ab\u0413\u0440\u0430\u0444\u0438\u043a\u0430 \u0432\u043e Flutter\u00bb<\/em><\/a><em>. \u041d\u0430 \u0443\u0440\u043e\u043a\u0435 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043e\u043c-\u0432\u0435\u0434\u0443\u0449\u0438\u043c \u0440\u0430\u0437\u0431\u0435\u0440\u0443\u0442, \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433 \u0432\u043e Flutter \u0438 \u0438\u0437\u0443\u0447\u0430\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <\/em><code>dart:ui<\/code><em>.<\/p>\n<p>\u0410 \u0441\u0435\u0439\u0447\u0430\u0441 \u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430.<\/em><\/p>\n<\/blockquote>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<hr>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041c\u044b \u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a \u043b\u0435\u0433\u043a\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c\u0441\u044f \u0441 \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432 Flutter. \u041d\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438 \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c.<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c:<\/p>\n<pre><code class=\"go\">Navigator.push(     context,     MaterialPageRoute(builder: (context) =&gt; SecondRoute()),   );<\/code><\/pre>\n<p>\u0412\u044b\u0442\u0430\u0449\u0438\u0442\u044c:<\/p>\n<pre><code class=\"go\">Navigator.pop(context);<\/code><\/pre>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a. \u041d\u043e \u044d\u0442\u043e \u0441\u043a\u0443\u0447\u043d\u043e\u0432\u0430\u0442\u043e, \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435<\/p>\n<p>\u0412 <a href=\"http:\/\/bit.ly\/2KNpLo4\"><u>Winkl<\/u><\/a>, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0438\u0433\u0440\u0430\u0442\u044c \u0441 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439, \u043c\u044b \u043f\u043e\u043d\u044f\u043b\u0438, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043c\u043e\u0436\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0430\u0448 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u043c. \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u043c\u0435\u0442\u044c \u0441\u043b\u0430\u0439\u0434-\u043f\u0435\u0440\u0435\u0445\u043e\u0434, \u043a\u0430\u043a IOS \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 <code>CupertinoPageRoute<\/code>. \u0412\u043e\u0442 \u0438 \u0432\u0441\u0435, \u043d\u0438\u0447\u0435\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435.<\/p>\n<p>\u041d\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 Flutter \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 <a href=\"https:\/\/flutter.dev\/docs\/development\/ui\/widgets\/animation\"><u>\u0432\u0438\u0434\u0436\u0435\u0442\u044b \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430<\/u><\/a>. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>\u041c\u044b \u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e <code>Navigator.push<\/code> \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u0432\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 (<code>BuildContext context<\/code><em>, <\/em><code>Route&lt;T&gt; route<\/code>). \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0447\u043d\u0435\u043c \u0441 \u0447\u0435\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e, \u0432\u0440\u043e\u0434\u0435 \u0441\u043b\u0430\u0439\u0434-\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430.<\/p>\n<h3>\u0421\u043b\u0430\u0439\u0434-\u043f\u0435\u0440\u0435\u0445\u043e\u0434<\/h3>\n<p>\u041c\u044b \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u043c <code>PageRouteBuilder<\/code> \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c <code>transitionBuilder<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0435\u0440\u043d\u0435\u0442 \u0432\u0438\u0434\u0436\u0435\u0442 <code>SlideTransition<\/code>. \u0412\u0438\u0434\u0436\u0435\u0442 <code>SlideTransition<\/code> \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u0442\u0438\u043f\u0430 <code>Animation&lt;Offset&gt;<\/code>. \u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>Tween&lt;Offset&gt;<\/code> \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f.<\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class SlideRightRoute extends PageRouteBuilder {   final Widget page;   SlideRightRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               SlideTransition(                 position: Tween&lt;Offset&gt;(                   begin: const Offset(-1, 0),                   end: Offset.zero,                 ).animate(animation),                 child: child,               ),         ); }<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>SlideRightRoute<\/code> \u0432\u043c\u0435\u0441\u0442\u043e <code>MaterialPageRoute<\/code> \u0432\u043e\u0442 \u0442\u0430\u043a.<\/p>\n<pre><code>Navigator.push(context, SlideRightRoute(page: Screen2()))<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<\/p>\n<p>\u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438? \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043b\u0430\u0439\u0434-\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430, \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435.<\/p>\n<h3>\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0430<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0430 \u0430\u043d\u0438\u043c\u0438\u0440\u0443\u0435\u0442 \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0436\u0435\u0442\u0430. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438, \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u043a\u0440\u0438\u0432\u044b\u0435 <code>CurvedAnimation<\/code>. \u0412 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u043c \u043d\u0438\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b <code>Curves.fastOutSlowIn<\/code>.<\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class ScaleRoute extends PageRouteBuilder {   final Widget page;   ScaleRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               ScaleTransition(                 scale: Tween&lt;double&gt;(                   begin: 0.0,                   end: 1.0,                 ).animate(                   CurvedAnimation(                     parent: animation,                     curve: Curves.fastOutSlowIn,                   ),                 ),                 child: child,               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<h3>\u0420\u043e\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434<\/h3>\n<p>\u0420\u043e\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0430\u043d\u0438\u043c\u0438\u0440\u0443\u0435\u0442 \u0440\u043e\u0442\u0430\u0446\u0438\u044e \u0432\u0438\u0434\u0436\u0435\u0442\u0430. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c <code>transitionDuration<\/code> \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e <code>PageRouteBuilder<\/code><em>.<\/em><\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class RotationRoute extends PageRouteBuilder {   final Widget page;   RotationRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionDuration: Duration(seconds: 1),           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               RotationTransition(                 turns: Tween&lt;double&gt;(                   begin: 0.0,                   end: 1.0,                 ).animate(                   CurvedAnimation(                     parent: animation,                     curve: Curves.linear,                   ),                 ),                 child: child,               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<h3>\u0420\u0430\u0437\u043c\u0435\u0440\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 <\/h3>\n<p><a href=\"https:\/\/api.flutter.dev\/flutter\/widgets\/SizeTransition-class.html\">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/a><\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class SizeRoute extends PageRouteBuilder {   final Widget page;   SizeRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               Align(                 child: SizeTransition(                   sizeFactor: animation,                   child: child,                 ),               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<h3>\u0422\u0435\u043d\u0435\u0432\u043e\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434<\/h3>\n<p><a href=\"https:\/\/api.flutter.dev\/flutter\/widgets\/FadeTransition-class.html\">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/a><\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class FadeRoute extends PageRouteBuilder {   final Widget page;   FadeRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               FadeTransition(                 opacity: animation,                 child: child,               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0417\u0434\u043e\u0440\u043e\u0432\u043e! \u041c\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438 \u0432\u0441\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u043e\u0435. \u0427\u0442\u043e \u0435\u0441\u043b\u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430. \u041c\u0430\u0440\u0448\u0440\u0443\u0442 \u0432\u0445\u043e\u0434\u0430 (\u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430) \u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0432\u044b\u0445\u043e\u0434\u0430 (\u0441\u0442\u0430\u0440\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430). \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u0432 \u0441\u0442\u0435\u043a \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0435\u0435 \u043a \u043e\u0431\u043e\u0438\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043c. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043b\u0430\u0439\u0434 \u0432 \u043d\u043e\u0432\u043e\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0435 \u0438 \u0441\u043b\u0430\u0439\u0434 \u0438\u0437 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430. \u042d\u0442\u043e \u043c\u043e\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class EnterExitRoute extends PageRouteBuilder {   final Widget enterPage;   final Widget exitPage;   EnterExitRoute({this.exitPage, this.enterPage})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               enterPage,           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               Stack(                 children: &lt;Widget&gt;[                   SlideTransition(                     position: new Tween&lt;Offset&gt;(                       begin: const Offset(0.0, 0.0),                       end: const Offset(-1.0, 0.0),                     ).animate(animation),                     child: exitPage,                   ),                   SlideTransition(                     position: new Tween&lt;Offset&gt;(                       begin: const Offset(1.0, 0.0),                       end: Offset.zero,                     ).animate(animation),                     child: enterPage,                   )                 ],               ),         ); }<\/code><\/pre>\n<p>\u0418 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0435\u0433\u043e \u0432\u043e\u0442 \u0442\u0430\u043a.<\/p>\n<pre><code class=\"dart\">Navigator.push(context,     EnterExitRoute(exitPage: this, enterPage: Screen2()))<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u0438 \u0440\u043e\u0442\u0430\u0446\u0438\u044e \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0435\u0441\u0442\u044c <code>ScaleTransition<\/code>, \u0435\u0433\u043e \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <code>RotationTransition<\/code>, \u0430 \u0435\u0433\u043e \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u2014 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430.<\/p>\n<pre><code class=\"dart\">import 'package:flutter\/material.dart'; class ScaleRotateRoute extends PageRouteBuilder {   final Widget page;   ScaleRotateRoute({this.page})       : super(           pageBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,           ) =&gt;               page,           transitionDuration: Duration(seconds: 1),           transitionsBuilder: (             BuildContext context,             Animation&lt;double&gt; animation,             Animation&lt;double&gt; secondaryAnimation,             Widget child,           ) =&gt;               ScaleTransition(                 scale: Tween&lt;double&gt;(                   begin: 0.0,                   end: 1.0,                 ).animate(                   CurvedAnimation(                     parent: animation,                     curve: Curves.fastOutSlowIn,                   ),                 ),                 child: RotationTransition(                   turns: Tween&lt;double&gt;(                     begin: 0.0,                     end: 1.0,                   ).animate(                     CurvedAnimation(                       parent: animation,                       curve: Curves.linear,                     ),                   ),                   child: child,                 ),               ),         ); }<\/code><\/pre>\n<p><a href=\"https:\/\/medium.com\/flutter-community\/everything-you-need-to-know-about-flutter-page-route-transition-9ef5c1b32823\"><u>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/u><\/a><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430, \u0440\u0435\u0431\u044f\u0442\u0430! \u042d\u0442\u043e \u0432\u0441\u0435, \u0447\u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043e\u0431 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043f\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443 \u0432 Flutter. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435. \u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u044d\u0442\u0438\u043c \u0441\u043e \u043c\u043d\u043e\u0439. \u0412\u0435\u0441\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0437\u0434\u0435\u0441\u044c \u043d\u0430 <a href=\"https:\/\/github.com\/divyanshub024\/Flutter-page-route-transition\"><u>GitHub repo<\/u><\/a>. \u0421\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441\u043e \u043c\u043d\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u0432 <a href=\"https:\/\/twitter.com\/divyanshub024\"><u>Twitter<\/u><\/a>, <a href=\"https:\/\/github.com\/divyanshub024\"><u>Github <\/u><\/a>\u0438 <a href=\"https:\/\/www.linkedin.com\/in\/divyanshub024\/\"><u>LinkedIn<\/u><\/a>.<\/p>\n<hr>\n<blockquote>\n<p><a href=\"https:\/\/otus.pw\/CRDW\/\"><strong>\u0423\u0437\u043d\u0430\u0442\u044c<\/strong><\/a><\/p>\n<\/blockquote>\n<\/hr>\n<\/hr>\n<\/blockquote>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-316978","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/316978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=316978"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/316978\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=316978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=316978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=316978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}