Runs delayed Future with zero Duration so action will be performed next frame.
action
static Future nextFrame(VoidCallback action) => Future.delayed(const Duration(), action);