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
€86.76
List Price:  €121.47
You save:  €34.70
£74.30
List Price:  £104.03
You save:  £29.72
CA$137.31
List Price:  CA$192.24
You save:  CA$54.93
A$154.56
List Price:  A$216.40
You save:  A$61.83
S$128.58
List Price:  S$180.02
You save:  S$51.44
HK$784.94
List Price:  HK$1,098.95
You save:  HK$314
CHF 81.77
List Price:  CHF 114.48
You save:  CHF 32.71
NOK kr1,010.38
List Price:  NOK kr1,414.57
You save:  NOK kr404.19
DKK kr647.29
List Price:  DKK kr906.23
You save:  DKK kr258.94
NZ$167.41
List Price:  NZ$234.39
You save:  NZ$66.97
د.إ367.19
List Price:  د.إ514.08
You save:  د.إ146.89
৳12,235.59
List Price:  ৳17,130.31
You save:  ৳4,894.72
₹8,659.29
List Price:  ₹12,123.35
You save:  ₹3,464.06
RM425.20
List Price:  RM595.30
You save:  RM170.10
₦154,995.49
List Price:  ₦216,999.89
You save:  ₦62,004.40
₨28,388
List Price:  ₨39,744.33
You save:  ₨11,356.33
฿3,271.47
List Price:  ฿4,580.19
You save:  ฿1,308.72
₺3,966.92
List Price:  ₺5,553.85
You save:  ₺1,586.92
B$551.22
List Price:  B$771.73
You save:  B$220.51
R1,799.75
List Price:  R2,519.72
You save:  R719.97
Лв169.60
List Price:  Лв237.45
You save:  Лв67.84
₩137,302.64
List Price:  ₩192,229.19
You save:  ₩54,926.55
₪348.86
List Price:  ₪488.43
You save:  ₪139.56
₱5,719.67
List Price:  ₱8,007.77
You save:  ₱2,288.09
¥14,609.03
List Price:  ¥20,453.23
You save:  ¥5,844.20
MX$1,917.22
List Price:  MX$2,684.19
You save:  MX$766.96
QR364.88
List Price:  QR510.85
You save:  QR145.97
P1,348.42
List Price:  P1,887.85
You save:  P539.42
KSh12,918.70
List Price:  KSh18,086.70
You save:  KSh5,168
E£5,060.78
List Price:  E£7,085.29
You save:  E£2,024.51
ብር13,757.66
List Price:  ብር19,261.28
You save:  ብር5,503.61
Kz91,186.38
List Price:  Kz127,664.58
You save:  Kz36,478.20
CLP$94,106.58
List Price:  CLP$131,752.98
You save:  CLP$37,646.40
CN¥717.91
List Price:  CN¥1,005.11
You save:  CN¥287.19
RD$5,927.29
List Price:  RD$8,298.45
You save:  RD$2,371.15
DA13,025.47
List Price:  DA18,236.17
You save:  DA5,210.70
FJ$225.97
List Price:  FJ$316.37
You save:  FJ$90.39
Q768.93
List Price:  Q1,076.53
You save:  Q307.60
GY$20,930.90
List Price:  GY$29,304.10
You save:  GY$8,373.19
ISK kr12,408.75
List Price:  ISK kr17,372.75
You save:  ISK kr4,964
DH913.16
List Price:  DH1,278.46
You save:  DH365.30
L1,710.84
List Price:  L2,395.25
You save:  L684.40
ден5,341.90
List Price:  ден7,478.87
You save:  ден2,136.97
MOP$808.93
List Price:  MOP$1,132.54
You save:  MOP$323.60
N$1,806.34
List Price:  N$2,528.95
You save:  N$722.60
C$3,681.79
List Price:  C$5,154.65
You save:  C$1,472.86
रु13,857.80
List Price:  रु19,401.48
You save:  रु5,543.67
S/359.26
List Price:  S/502.98
You save:  S/143.71
K418.28
List Price:  K585.61
You save:  K167.33
SAR375.19
List Price:  SAR525.28
You save:  SAR150.09
ZK2,340.73
List Price:  ZK3,277.11
You save:  ZK936.38
L436.45
List Price:  L611.05
You save:  L174.60
Kč2,153.60
List Price:  Kč3,015.13
You save:  Kč861.52
Ft34,938.50
List Price:  Ft48,915.30
You save:  Ft13,976.80
SEK kr966.34
List Price:  SEK kr1,352.91
You save:  SEK kr386.57
ARS$116,307.06
List Price:  ARS$162,834.54
You save:  ARS$46,527.48
Bs691.30
List Price:  Bs967.84
You save:  Bs276.54
COP$408,260.26
List Price:  COP$571,580.70
You save:  COP$163,320.43
₡50,508.48
List Price:  ₡70,713.90
You save:  ₡20,205.41
L2,612.93
List Price:  L3,658.21
You save:  L1,045.27
₲798,531.84
List Price:  ₲1,117,976.52
You save:  ₲319,444.68
$U4,090.68
List Price:  $U5,727.12
You save:  $U1,636.43
zł370.35
List Price:  zł518.51
You save:  zł148.15
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.