본문 바로가기
개발/Flutter

Why we use Key in flutter widget?

by dev_caleb 2022. 2. 10.
728x90

https://apgapg.medium.com/using-keys-in-flutter-1c5fb586b2a5

 

Using Keys in Flutter

If you are unaware of some terms like ValueKey, UniqueKey, ObjectKey etc then you on the right article.

apgapg.medium.com

 

I experienced my widget which I want to update doesn't updated and another widget is update. I thoght the reason for this problem is reason why I use same key for widgets. After I use Key(text: String), I could fix my problem.

It would be helpful if you refer to the link at the top.

Enjoy coding with flutter.

728x90

'개발 > Flutter' 카테고리의 다른 글

Dart Generic Development  (0) 2022.02.10
Get hash key for Mac, (Facebook , Kakao)  (0) 2022.02.10
Flutter -When FirebaseMessaging.onMessageOpenedApp.listen is not triggered  (0) 2022.02.03
flutter FCM 좋은 글  (0) 2022.02.02
UCG update 문제  (0) 2022.01.31