CustomPump typedef
CustomPump =
Future<void> Function(WidgetTester)
CustomPump is a function that lets you do custom pumping before golden evaluation. Sometimes, you want to do a golden test for different stages of animations, so its crucial to have a precise control over pumps and durations
Implementation
typedef CustomPump = Future<void> Function(WidgetTester);