This arrow syntax is a way to define a function that executes the expression to its right and returns its value .
What does () => mean in flutter?
This arrow syntax is a way to define a function that executes the expression to its right and returns its value . By using fat arrow => the curly brackets needs to be removed. Otherwise, the code editor will show you an error.17 Ara 2020