@@ -77,9 +77,9 @@ class VlcPlayerWithControlsState extends State<VlcPlayerWithControls> {
7777 final strDuration = oDuration.toString ().split ('.' ).first;
7878 setState (() {
7979 position =
80- "${strPosition .split (':' )[1 ]}:${strPosition .split (':' )[2 ]}" ;
80+ "${strPosition .split (':' )[1 ]}:${strPosition .split (':' )[2 ]}" ;
8181 duration =
82- "${strDuration .split (':' )[1 ]}:${strDuration .split (':' )[2 ]}" ;
82+ "${strDuration .split (':' )[1 ]}:${strDuration .split (':' )[2 ]}" ;
8383 });
8484 } else {
8585 setState (() {
@@ -259,19 +259,19 @@ class VlcPlayerWithControlsState extends State<VlcPlayerWithControls> {
259259 children: [
260260 Text (
261261 'Size: ${_controller .value .size .width .toInt ()}'
262- 'x${_controller .value .size .height .toInt ()}' ,
262+ 'x${_controller .value .size .height .toInt ()}' ,
263263 textAlign: TextAlign .center,
264264 overflow: TextOverflow .ellipsis,
265265 style:
266- const TextStyle (color: Colors .white, fontSize: 10 ),
266+ const TextStyle (color: Colors .white, fontSize: 10 ),
267267 ),
268268 const SizedBox (height: 5 ),
269269 Text (
270270 'Status: ${_controller .value .playingState .toString ().split ('.' )[1 ]}' ,
271271 textAlign: TextAlign .center,
272272 overflow: TextOverflow .ellipsis,
273273 style:
274- const TextStyle (color: Colors .white, fontSize: 10 ),
274+ const TextStyle (color: Colors .white, fontSize: 10 ),
275275 ),
276276 ],
277277 ),
@@ -291,7 +291,7 @@ class VlcPlayerWithControlsState extends State<VlcPlayerWithControls> {
291291 controller: _controller,
292292 aspectRatio: _aspectRatio,
293293 placeholder:
294- const Center (child: CircularProgressIndicator ()),
294+ const Center (child: CircularProgressIndicator ()),
295295 ),
296296 ),
297297 Positioned (
@@ -350,7 +350,7 @@ class VlcPlayerWithControlsState extends State<VlcPlayerWithControls> {
350350 ? 1.0
351351 : _controller.value.duration.inSeconds.toDouble (),
352352 onChanged:
353- validPosition ? _onSliderPositionChanged : null ,
353+ validPosition ? _onSliderPositionChanged : null ,
354354 ),
355355 ),
356356 Text (
0 commit comments