Flutter Tutorial - Flutter Keys & Global Key

preview_player
Показать описание
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.

SUBSCRIBE HERE

SUPPORT & SPONSOR ME

RESOURCES

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 :-)

LEARN MORE

PLAYLISTS

CREDITS

#Flutter #Tutorial #JohannesMilke

LIKE & SHARE & ACTIVATE THE BELL
Thanks For Watching :-)
Рекомендации по теме
Комментарии
Автор

This is way better than the official video. Thanks for the explanation!

nerdbenana
Автор

You're the best thanks a lot Milke for this tutorial

yasmeenabushaar
Автор

Man you saved my life ! Thank you ! You have a new follower

gersonchadijunior
Автор

Thank you. I found out how a parent widget can call methods in it's child's state.

JobinJacobKavalam
Автор

Prosda Perfecto Teacher. You Are Krasavcik

cavidanbagiri
Автор

Thank you for this tutorial. It helped me a lot!

flavio.a
Автор

Can you pls explain how to create multiple enddrawer in a single same page with different content

kingbheem
Автор

I am receiving GlobalKey current state null ?? I have tried for variable and function both but getting null value.

usmanshoaib
Автор

So clear when you explain :) You should have been my math teacher when i was young :))

arnaudduquenoy
Автор

one question brother my local app notification(not the firebase but native) is not working when app is terminated what to do(i already watched your old videos)? can you please make video on that?
and also make video on native ad which uses the latest package from google ad, old one is deprecated and i lost where the part to write native code inside manifest file there is some errors regarding package and also note that i also used fluuter_native_ads package but due to new firebase firestore package i got error while building i will be very thankful if you help me out, btw love your content

meetrajpopat
Автор

And what happen with the explanation of the plain keys (not the global)? :s

spinoff
Автор

thanks for it I prefer to read the subtitles though.

kasandrop
Автор

that's great, @Johannes Milke ...

TrikNgonlen
Автор

Hi, How to access GlobalKey to another flutter page / file? another people asked this 6 months ago and you give a very outdated way. please tell me properly I really need this thank you.

fluffycatstream
Автор

Which key we have to use with Stateless Widget

piyushbhatnagar
Автор

How do I dispose a TextFormField correctly with this global Form and can I (or should I ) dispose the Global Form Key too if so then how

congtoannguyen
Автор

in my projet i have this error:
Looking up a deactivated widget's ancestor is unsafe.


I try to folloz your course but i have a error like:

"'dynamic' doesn't conform to the bound 'State<StatefulWidget>' of the type parameter 'T'.
Try using a type that is or is a subclass of 'State<StatefulWidget>'."

and
"The name isn't a type so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named

eNONO-otzh
Автор

I dont understand why we use keys. In this example we used the key to access the methods and variables. But this is also possible with Classname.variable isnt it ?

theghost
Автор

How to make the height of the cursor same with the height of text in UITextField?

immunemart
Автор

Great and clear content as always <3 still i have 1 question, in your example when I'm trying to get the state of the counter and displaying it as the app bar title or in another place as text I'm getting error. why it is working and getting the right value on pressing but not getting the value when directly called as a value of Text Widget ?

njomaboujaib
welcome to shbcf.ru