3초 뒤에 랜덤하게 100이하의 숫자 생성 Future getNumber() async { await Future.delayed(Duration(seconds: 3)); final random = Random(); return random.nextInt(100); } } Future값을 아직 넣지 않았을 때의 기본 class HomeScreen extends StatefulWidget { const HomeScreen({Key? key}) : super(key: key); @override State createState() => _HomeScreenState(); } class _HomeScreenState extends State { @override Widget build(BuildContext c..