Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart delay

In Async Code
	await Future.delayed(Duration(seconds: 1));
    
In Sync Code

  import 'dart:io';
  sleep(Duration(seconds:1));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dart #delay
ADD COMMENT
Topic
Name
7+1 =