Animating a widget across screens

2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€93.35
List Price:  €130.69
You save:  €37.34
£78.93
List Price:  £110.51
You save:  £31.57
CA$137.39
List Price:  CA$192.36
You save:  CA$54.96
A$151.35
List Price:  A$211.91
You save:  A$60.55
S$135.26
List Price:  S$189.37
You save:  S$54.11
HK$780.94
List Price:  HK$1,093.35
You save:  HK$312.40
CHF 89.21
List Price:  CHF 124.90
You save:  CHF 35.68
NOK kr1,071.21
List Price:  NOK kr1,499.73
You save:  NOK kr428.52
DKK kr696.41
List Price:  DKK kr975
You save:  DKK kr278.59
NZ$163.30
List Price:  NZ$228.62
You save:  NZ$65.32
د.إ367.26
List Price:  د.إ514.18
You save:  د.إ146.92
৳11,744.24
List Price:  ৳16,442.40
You save:  ৳4,698.16
₹8,354.71
List Price:  ₹11,696.93
You save:  ₹3,342.21
RM471.90
List Price:  RM660.68
You save:  RM188.78
₦149,218.40
List Price:  ₦208,911.74
You save:  ₦59,693.33
₨27,838.09
List Price:  ₨38,974.44
You save:  ₨11,136.35
฿3,680.48
List Price:  ฿5,152.82
You save:  ฿1,472.34
₺3,283.35
List Price:  ₺4,596.82
You save:  ₺1,313.47
B$537.58
List Price:  B$752.64
You save:  B$215.05
R1,820.27
List Price:  R2,548.45
You save:  R728.18
Лв182.74
List Price:  Лв255.85
You save:  Лв73.10
₩137,988.89
List Price:  ₩193,189.97
You save:  ₩55,201.07
₪373.57
List Price:  ₪523.01
You save:  ₪149.44
₱5,863.81
List Price:  ₱8,209.57
You save:  ₱2,345.76
¥15,764.32
List Price:  ¥22,070.68
You save:  ¥6,306.36
MX$1,850.41
List Price:  MX$2,590.65
You save:  MX$740.24
QR364.43
List Price:  QR510.22
You save:  QR145.79
P1,360.65
List Price:  P1,904.97
You save:  P544.31
KSh12,942.94
List Price:  KSh18,120.64
You save:  KSh5,177.69
E£4,770
List Price:  E£6,678.19
You save:  E£1,908.19
ብር5,715.95
List Price:  ብር8,002.56
You save:  ብር2,286.61
Kz85,440.92
List Price:  Kz119,620.70
You save:  Kz34,179.78
CLP$92,528.74
List Price:  CLP$129,543.94
You save:  CLP$37,015.20
CN¥725.53
List Price:  CN¥1,015.78
You save:  CN¥290.24
RD$5,933.94
List Price:  RD$8,307.75
You save:  RD$2,373.81
DA13,481.28
List Price:  DA18,874.34
You save:  DA5,393.05
FJ$224.25
List Price:  FJ$313.96
You save:  FJ$89.71
Q776.25
List Price:  Q1,086.79
You save:  Q310.53
GY$20,909.43
List Price:  GY$29,274.03
You save:  GY$8,364.60
ISK kr13,956.60
List Price:  ISK kr19,539.80
You save:  ISK kr5,583.20
DH1,004.26
List Price:  DH1,406.01
You save:  DH401.74
L1,785.38
List Price:  L2,499.61
You save:  L714.22
ден5,746.96
List Price:  ден8,045.98
You save:  ден2,299.01
MOP$804.05
List Price:  MOP$1,125.71
You save:  MOP$321.65
N$1,835.04
List Price:  N$2,569.14
You save:  N$734.09
C$3,678.78
List Price:  C$5,150.44
You save:  C$1,471.66
रु13,358.46
List Price:  रु18,702.38
You save:  रु5,343.92
S/377.70
List Price:  S/528.80
You save:  S/151.09
K389.46
List Price:  K545.26
You save:  K155.80
SAR375.13
List Price:  SAR525.20
You save:  SAR150.06
ZK2,615.85
List Price:  ZK3,662.30
You save:  ZK1,046.44
L464.59
List Price:  L650.45
You save:  L185.85
Kč2,303.21
List Price:  Kč3,224.59
You save:  Kč921.37
Ft36,972.54
List Price:  Ft51,763.04
You save:  Ft14,790.49
SEK kr1,054.40
List Price:  SEK kr1,476.20
You save:  SEK kr421.80
ARS$90,315.01
List Price:  ARS$126,444.63
You save:  ARS$36,129.62
Bs690.50
List Price:  Bs966.73
You save:  Bs276.22
COP$414,433.09
List Price:  COP$580,222.91
You save:  COP$165,789.81
₡52,688.54
List Price:  ₡73,766.06
You save:  ₡21,077.52
L2,470.11
List Price:  L3,458.25
You save:  L988.14
₲751,649.89
List Price:  ₲1,052,339.92
You save:  ₲300,690.02
$U3,928.74
List Price:  $U5,500.40
You save:  $U1,571.65
zł407.41
List Price:  zł570.40
You save:  zł162.98
Already have an account? Log In

Transcript

Hello, in this video, I'm going to show you how to animate widgets across different screens using the hero animations. I've already set up exactly a pretty simple implementation, I'm gonna run through the code with you, you'll be provided with a GitHub link, where you can check out all the source code from every video plus this one as well. I want you to do essentially, you know, implement yourself to see like, so like tasks video. So we've got to the stage in this series, where I'm going to be very knowledgeable by now and when I want to throw a few of these tasks at you, so this is what we get so far. If I click on it, obviously doesn't open up a new page necessarily. And then display, it basically just animates it.

And what we have we got the main screen, which was scaffold, you got a gesture detector on it. Then in that we have the child and this is important, we need a hero, then we have no more than one. So in this case, it's a image we gave from the network. Networking is where you get it from local networks that don't really matter. When you push it, you have to do navigate push context material page route builder on this call, then we don't we don't do the actual what's called net pay you return Details screen, which is this white here, which have nothing, Chaska fall, we have a gesture detector position the hero the image network. But when you tap it, it'll basically pop stuff off.

And the hero app, which is basically initially code that just invokes the main screen. So it's pretty simple, if you've been following along so far in this series, but as you can see, it is ridiculously effective. You can't do it on the outside. That's the test that I want you to do as well implemented. So if you click on that, so it goes back to this. So this is a great way maybe you're on social media posts, you only show the image, maybe a couple of lines of text, you click on this, it opens it up without you know, it sort of goes into a hole.

Know the page, you can see what's on there, then you can go back to the screen. That's basically how you animate wages across screens using the hero animation. If you have any questions, feel free to call me message. And as usual, I look forward to seeing you in the next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.