提交 667971cf authored 作者: jungleiOS's avatar jungleiOS

修改默认时间字号为14

上级 7a87147e
...@@ -236,8 +236,8 @@ class _VideoPlayerPageState extends State<VideoPlayerPage> { ...@@ -236,8 +236,8 @@ class _VideoPlayerPageState extends State<VideoPlayerPage> {
/// 自定义颜色 /// 自定义颜色
// barBackgroundColor: Colors.blue, // barBackgroundColor: Colors.blue,
/// 自定义时间TextStyle /// 自定义时间TextStyle
timeTextStyle: // timeTextStyle:
const TextStyle(fontSize: 14.0, color: Colors.white), // const TextStyle(fontSize: 14.0, color: Colors.white),
///添加边距 ///添加边距
padding: padding:
......
...@@ -18,7 +18,7 @@ class VideoControlBarStyle { ...@@ -18,7 +18,7 @@ class VideoControlBarStyle {
this.timeTextStyle = const TextStyle( this.timeTextStyle = const TextStyle(
fontWeight: FontWeight.normal, fontWeight: FontWeight.normal,
color: Colors.white, color: Colors.white,
fontSize: 11.0, fontSize: 14.0,
), ),
this.playIcon = const Icon( this.playIcon = const Icon(
Icons.play_circle_outline, Icons.play_circle_outline,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论