Future afterDelay({dynamic Function()? function, int? milliseconds = 250}) => Future.delayed(Duration(milliseconds: milliseconds!), function);