格式化为百分比
static String formatPercent(num? value, {int fractionDigits = 2}) { if (value == null) return ''; return '${(value * 100).toStringAsFixed(fractionDigits)}%'; }