Dart Anonymous Functions: Callback Functions
Basically, in Dart the Callback function is like normal function, but it is passed as arguments to another function.
You are getting the same of instructions repeatedly at multiple places, you can use the callback function at one place.
Here's a simp...