anchor.diff:    ///日期格式转换
     static String getNewsTimeStr(DateTime date) {
       int subTimes =
  -        DateTime
  -            .now()
  -            .millisecondsSinceEpoch - date.millisecondsSinceEpoch;
  +        DateTime.now().millisecondsSinceEpoch - date.millisecondsSinceEpoch;
   
       if (subTimes < MILLIS_LIMIT) {
         return (curLocale != null)
  -          ? (curLocale!.languageCode != "zh") ? "right now" : "刚刚"
  +          ? (curLocale!.languageCode != "zh")
  +              ? "right now"
  +              : "刚刚"
             : "刚刚";
       } else if (subTimes < SECONDS_LIMIT) {
         return (subTimes / MILLIS_LIMIT).round().toString() +
             ((curLocale != null)
  -              ? (curLocale!.languageCode != "zh") ? " seconds ago" : " 秒前"
  +              ? (curLocale!.languageCode != "zh")
  +                  ? " seconds ago"
  +                  : " 秒前"
                 : " 秒前");
       } else if (subTimes < MINUTES_LIMIT) {
         return (subTimes / SECONDS_LIMIT).round().toString() +
             ((curLocale != null)
  -              ? (curLocale!.languageCode != "zh") ? " min ago" : " 分钟前"
  +              ? (curLocale!.languageCode != "zh")
  +                  ? " min ago"
  +                  : " 分钟前"
                 : " 分钟前");
       } else if (subTimes < HOURS_LIMIT) {
         return (subTimes / MINUTES_LIMIT).round().toString() +
             ((curLocale != null)
  -              ? (curLocale!.languageCode != "zh") ? " hours ago" : " 小时前"
  +              ? (curLocale!.languageCode != "zh")
  +                  ? " hours ago"
  +                  : " 小时前"
                 : " 小时前");
       } else if (subTimes < DAYS_LIMIT) {
         return (subTimes / HOURS_LIMIT).round().toString() +
             ((curLocale != null)
  -              ? (curLocale!.languageCode != "zh") ? " days ago" : " 天前"
  +              ? (curLocale!.languageCode != "zh")
  +                  ? " days ago"
  +                  : " 天前"
                 : " 天前");
       } else {
         return getDateStr(date);
  
positive.code:   static String getDateStr(DateTime? date) {
      if (date == null || date.toString() == "") {
        return "";
      } else if (date
          .toString()
          .length < 10) {
        return date.toString();
      }
      return date.toString().substring(0, 10);
  
negative.code:   }
  
    ///列表item dialog
    static Future<Null> showCommitOptionDialog(
      BuildContext context,
      StringList? commitMaps,
      ValueChanged<int> onTap, {
      width = 250.0,
      height = 400.0,
      List<Color>? colorList,
    }) {
      return NavigatorUtils.showGSYDialog(
          context: context,
          builder: (BuildContext context) {
  