anchor.diff:              child: Slider(
                 min: 0.0,
                 max: widget.duration.inMilliseconds.toDouble(),
  -              value: widget.position.inMilliseconds.toDouble(),
  +              value: min(widget.position.inMilliseconds.toDouble(), widget.duration.inMilliseconds.toDouble()),
                 onChanged: (value) {
                   setState(() {
                     _dragValue = value;
  
positive.code: import 'package:flutter/material.dart';
  
  // Trimmed down version of https://github.com/ryanheise/just_audio/blob/master/just_audio/example/lib/common.dart
  
negative.code:           child: Slider(
              min: 0.0,
              max: widget.duration.inMilliseconds.toDouble(),
              value:
                  min(_dragValue ?? widget.position.inMilliseconds.toDouble(), widget.duration.inMilliseconds.toDouble()),
              onChanged: (value) {
                setState(() {
                  _dragValue = value;
  