在此会持续更新Flutter中常用的函数 时间类 Flutter获取当前时间戳 int now = DateTime.now().millisecondsSinceEpoch; print("当前时间戳: $now");