关于时间转换
https://github.com/Sky24n/common_utils/blob/master/lib/src/date_util.dart
https://www.jianshu.com/p/02907d4ae438?tdsourcetag=s_pcqq_aiomsg
https://blog.csdn.net/hxl517116279/article/details/88378238
有时间在写
计算年龄
String time = “2019-11-12”;
DataTime date = DateTime.tryParse(time);
date = date.toLocal();
// 年龄
int year = DateTime.now().year - date.year;