flutter|flutter 延迟 执行

Future.delayed(Duration(seconds: 2), () { Navigator.of(context, rootNavigator: true).pop(); });

    推荐阅读