flutter dart 获取当前时间戳

static int currentTimeMillis() {
    return new DateTime.now().millisecondsSinceEpoch;
  }
Share