File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ class MaterialVideoProgressBar extends StatelessWidget {
77 MaterialVideoProgressBar (
88 this .controller, {
99 this .height = kToolbarHeight,
10+ this .barHeight = 10 ,
11+ this .handleHeight = 6 ,
1012 ChewieProgressColors ? colors,
1113 this .onDragEnd,
1214 this .onDragStart,
@@ -15,6 +17,8 @@ class MaterialVideoProgressBar extends StatelessWidget {
1517 }) : colors = colors ?? ChewieProgressColors ();
1618
1719 final double height;
20+ final double barHeight;
21+ final double handleHeight;
1822 final VideoPlayerController controller;
1923 final ChewieProgressColors colors;
2024 final Function ()? onDragStart;
@@ -25,8 +29,8 @@ class MaterialVideoProgressBar extends StatelessWidget {
2529 Widget build (BuildContext context) {
2630 return VideoProgressBar (
2731 controller,
28- barHeight: 10 ,
29- handleHeight: 6 ,
32+ barHeight: barHeight ,
33+ handleHeight: handleHeight ,
3034 drawShadow: true ,
3135 colors: colors,
3236 onDragEnd: onDragEnd,
You can’t perform that action at this time.
0 commit comments