afterDelay method

Future afterDelay({
  1. dynamic function()?,
  2. int? milliseconds = 250,
})

Implementation

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