What does controller do in flutter?

In flutter, controllers are a means to give control to the parent widget over its child state . The main selling point of controllers is that they remove the need of a GlobalKey to access the widget State. This, in turn, makes it harder to do anti-pattern stuff and increase performances.

Read more