What is Difference Between () {} and () = {} In Flutter

What is Difference Between () {} and () => {} In Flutter ?

· 4 min read

Sometimes flutter shows examples for fat arrow and sometimes doesn’t. So in this article, we will walk through the Difference Between () {} and () => {} In Flutter. What is Difference Between () {} and () => {} In Flutter ? The fat arrow syntax is simply a shorthand for returning an expression and…