Future myFuture() async { await new Future.delayed(new Duration(seconds: 3)); //return your_main_future_code_here; }