-1

I want to perform a method after a delay in flutter, and I came across Future.delayed method, but the method was being called immediately without a delay.

I tried the following:

Future.delayed(const Duration(milliseconds: 300), method());

1 Answers1

-1

Maybe you should increase the duration because 300 milliseconds is 0.3 seconds so you won't notice the delay, try 3000s instead