DEV Community

Cover image for Keys In Flutter - UniqueKey, ValueKey, ObjectKey, PageStorageKey, GlobalKey
Dhruv Nakum
Dhruv Nakum

Posted on

Keys In Flutter - UniqueKey, ValueKey, ObjectKey, PageStorageKey, GlobalKey

Introduction

  • Flutter has many widgets in its library, and if you take a look at every widget's properties you'll most probably find the key parameter in all of those widgets.
  • Most of the beginners who started learning Flutter don't know about Keys. And if they do, they don't know how to use them or where to put them.
  • It's because Keys has very few use cases or you can say their use is less common.
  • In this blog, I will try to explain the concept of Keys, and different types of Keys, Where to use Keys, and How to use them.

Read Full Article Here

Top comments (0)