Flutter Tutorial: Understanding Keys and GlobalKey for Stateful Widgets

Learn how to use Flutter Keys, including GlobalKey, ValueKey, and UniqueKey, to access and manage the state of Stateful Widgets effectively.

Flutter Tutorial: Understanding Keys and GlobalKey for Stateful Widgets
HeyFlutter․com
35.1K views • Mar 12, 2021
Flutter Tutorial: Understanding Keys and GlobalKey for Stateful Widgets

About this video

With Flutter Keys & the Flutter Global Key, you can access the state of Stateful Widgets in Flutter. The main Flutter Keys are GlobalKey, ValueKey, UniqueKey, & ObjectKey.
Click here to Subscribe to Johannes Milke: https://www.youtube.com/JohannesMilke?sub_confirmation=1

👉 12 Week Flutter Training | https://heyflutter.com
👉 Flutter Masterclass Courses | https://heyflutter.com/masterclass

Source Code | https://github.com/JohannesMilke/key_global_example
My Courses | https://heyflutter.com
Follow Newsletter | https://johannesmilke.com/newsletter

SUBSCRIBE HERE
http://bit.ly/JohannesMilke

SUPPORT & SPONSOR ME
https://github.com/sponsors/JohannesMilke

RESOURCES
UniqueKey Tutorial: https://www.youtube.com/watch?v=WhnB_5yjyWQ
ValueKey Tutorial: https://www.youtube.com/watch?v=-F_5yHm_Zso
Null Safety Tutorial: https://www.youtube.com/watch?v=Q_WloMNKOkU
Migrate App To Null Safety Tutorial: https://www.youtube.com/watch?v=GLnQphHi1BY
Native Splash Screen Tutorial: https://www.youtube.com/watch?v=8ME8Czqc-Oc
Create Flutter Project For App Stores Tutorial: https://www.youtube.com/watch?v=4f1AO-f-jYQ
QR Code Scanner App Tutorial: https://www.youtube.com/watch?v=Z32WsUiOegs
Barcode Scanner App Tutorial: https://www.youtube.com/watch?v=Ezzx0eIB4WM
Onboarding UI Screen Tutorial: https://www.youtube.com/watch?v=CQlA2p--oEg
Date Picker & Time Picker Tutorial: https://www.youtube.com/watch?v=a_fGsywyL90
Face ID - Local Auth Tutorial: https://www.youtube.com/watch?v=WIkdceaOUns
Fingerprint - Local Auth Tutorial: https://www.youtube.com/watch?v=qTuVurGvdbM
App Internationalization Tutorial: https://www.youtube.com/watch?v=Zw4KoorVxgg

TIMELINE
0:00 Introduction Flutter Global Key
0:34 Setup Global Key
2:06 Access State Of Stateful Widget
4:17 Global Key For Forms & Validation

SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS

*********

SOCIAL MEDIA: Follow Us :-)
Twitter | https://twitter.com/HeyFlutter_
Linkedin | https://www.linkedin.com/company/heyflutter

LEARN MORE
SOURCE CODE | https://github.com/JohannesMilke
ARTICLES | https://medium.com/@JohannesMilke

PLAYLISTS
All Flutter Videos | https://www.youtube.com/watch?v=3f9oqIvxNc0&list=PL1WkZqhlAdC_MPQBXUFwAHviZ3XkWPDBG
Widgets - Flutter | https://www.youtube.com/watch?v=1nEmFuX1Cig&list=PL1WkZqhlAdC8enpcvzv_uAS9FmHTDOCJ8
Plugins - Flutter | https://www.youtube.com/watch?v=3f9oqIvxNc0&list=PL1WkZqhlAdC9shbzjQao6cdzqB_Wu7Hr4
Animations - Flutter | https://www.youtube.com/watch?v=RLPZzDOPXG4&list=PL1WkZqhlAdC9pQE4nd9oAJi5eM9YXJeji
Designs - Flutter | https://www.youtube.com/watch?v=aLwjk-G2Qik&list=PL1WkZqhlAdC-i3Vs_HBQw9BPT9-_zMSun
Firebase - Flutter | https://www.youtube.com/watch?v=IruuzPydPz4&list=PL1WkZqhlAdC9TgTee50FWiiwVZ6kQg4W7
State Management - Flutter | https://www.youtube.com/watch?v=8H3bwxxla4Y&list=PL1WkZqhlAdC-GNyxQbfn8Db9pR6bRcQuw

CREDITS
Copyright song "Corporate Technology" by scottholmesmusic.com

#Flutter #Tutorial #JohannesMilke

LIKE & SHARE & ACTIVATE THE BELL
Thanks For Watching :-)
http://bit.ly/JohannesMilke

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

35.1K

Likes

961

Duration

10:29

Published

Mar 12, 2021

User Reviews

4.7
(7)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.