@@ -260,6 +260,7 @@ class _MaterialControlsState extends State<MaterialControls>
260260 height: barHeight + (chewieController.isFullScreen ? 10.0 : 0 ),
261261 padding: EdgeInsets .only (
262262 left: 20 ,
263+ right: 20 ,
263264 bottom: ! chewieController.isFullScreen ? 10.0 : 0 ,
264265 ),
265266 child: SafeArea (
@@ -291,7 +292,7 @@ class _MaterialControlsState extends State<MaterialControls>
291292 if (! chewieController.isLive)
292293 Expanded (
293294 child: Container (
294- padding: const EdgeInsets .only (right : 20 ),
295+ padding: const EdgeInsets .symmetric (horizontal : 20 ),
295296 child: Row (
296297 children: [
297298 _buildProgressBar (),
@@ -469,7 +470,7 @@ class _MaterialControlsState extends State<MaterialControls>
469470 text: '/ ${formatDuration (duration )}' ,
470471 style: TextStyle (
471472 fontSize: 14.0 ,
472- color: Colors .white.withOpacity ( .75 ),
473+ color: Colors .white.withValues (alpha : .75 ),
473474 fontWeight: FontWeight .normal,
474475 ),
475476 )
@@ -681,8 +682,9 @@ class _MaterialControlsState extends State<MaterialControls>
681682 playedColor: Theme .of (context).colorScheme.secondary,
682683 handleColor: Theme .of (context).colorScheme.secondary,
683684 bufferedColor:
684- Theme .of (context).colorScheme.surface.withOpacity (0.5 ),
685- backgroundColor: Theme .of (context).disabledColor.withOpacity (.5 ),
685+ Theme .of (context).colorScheme.surface.withValues (alpha: 0.5 ),
686+ backgroundColor:
687+ Theme .of (context).disabledColor.withValues (alpha: .5 ),
686688 ),
687689 draggableProgressBar: chewieController.draggableProgressBar,
688690 ),
0 commit comments