更新
This commit is contained in:
@@ -204,7 +204,7 @@ class SingleBarPainter extends CustomPainter {
|
||||
TextStyle(color: themeController.currentColor.sc3, fontSize: 26.rpx);
|
||||
final textPainter = TextPainter(textDirection: TextDirection.ltr);
|
||||
textPainter.text =
|
||||
TextSpan(text: '${value.toStringAsFixed(0)}%', style: textStyle);
|
||||
TextSpan(text: '${value.toStringAsFixed(0)}', style: textStyle);
|
||||
textPainter.layout();
|
||||
canvas.save();
|
||||
canvas.clipRect(Rect.fromLTWH(
|
||||
|
||||
Reference in New Issue
Block a user