bottom control尺寸优化,更易拖动进度条

This commit is contained in:
orz12
2023-12-21 12:24:08 +08:00
parent 621a597d8f
commit a10af323f9

View File

@ -26,8 +26,8 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
return Container(
color: Colors.transparent,
height: 85,
padding: const EdgeInsets.only(left: 14, right: 14),
height: 90,
padding: const EdgeInsets.only(left: 18, right: 18),
child: Column(
mainAxisAlignment: MainAxisAlignment.end,
children: [
@ -50,8 +50,8 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
bufferedBarColor: colorTheme.withOpacity(0.4),
timeLabelLocation: TimeLabelLocation.none,
thumbColor: colorTheme,
barHeight: 3.0,
thumbRadius: 5.5,
barHeight: 3.5,
thumbRadius: 7,
onDragStart: (duration) {
feedBack();
_.onChangedSliderStart();