fix progress bar

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-03 18:52:50 +08:00
parent 8f87d248a1
commit 11c4fae547

View File

@@ -293,8 +293,8 @@ class ProgressBar extends LeafRenderObjectWidget {
final textStyle = timeLabelTextStyle ?? theme.textTheme.bodyLarge;
final textScaleFactor = MediaQuery.textScalerOf(context).scale(1);
(renderObject as _RenderProgressBar)
..progress = progress
..total = total
..progress = progress
..buffered = buffered ?? Duration.zero
..onSeek = onSeek
..onDragStart = onDragStart