提交 bb8cbc95 authored 作者: jungleiOS's avatar jungleiOS

修改速度栏样式

上级 fa1b38f7
...@@ -18,7 +18,7 @@ class VideoSpeedItemStyle { ...@@ -18,7 +18,7 @@ class VideoSpeedItemStyle {
VideoSpeedItemStyle({ VideoSpeedItemStyle({
Color? backgroundColor, Color? backgroundColor,
this.itemSize = const Size(45, 30), this.itemSize = const Size(45, 30),
this.padding = const EdgeInsets.symmetric(vertical: 2.0, horizontal: 4.0), this.padding = EdgeInsets.zero,
this.margin = EdgeInsets.zero, this.margin = EdgeInsets.zero,
this.radius = const BorderRadius.all(Radius.circular(8.0)), this.radius = const BorderRadius.all(Radius.circular(8.0)),
this.textStyle = const TextStyle( this.textStyle = const TextStyle(
......
...@@ -21,7 +21,7 @@ class VideoSpeedBar extends StatelessWidget { ...@@ -21,7 +21,7 @@ class VideoSpeedBar extends StatelessWidget {
offstage: hidden, offstage: hidden,
child: Align( child: Align(
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: buildItems(), children: buildItems(),
), ),
), ),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论