Commit bff5c18b8819998acd77ba09e7a9f54f4058b535
1 parent
1892df31
feat:修复滑动错误问题
Showing
1 changed file
with
2 additions
and
0 deletions
lib/pages/video/lookvideo/widgets/video_opera_widget.dart
... | ... | @@ -143,6 +143,8 @@ class _VideoOperaWidgetState extends State<VideoOperaWidget> { |
143 | 143 | }, icon: widget.isPlay?const Icon(Icons.pause,color: Colors.white,):const Icon(Icons.play_arrow,color: Colors.white),), |
144 | 144 | Expanded( |
145 | 145 | child: Slider( |
146 | + min:0, | |
147 | + max: 1.0, | |
146 | 148 | activeColor: Colors.blue, |
147 | 149 | inactiveColor: Colors.white, |
148 | 150 | value: isSlider?sliderValue:widget.degree, | ... | ... |