undo: flutter version 3.22.1 -> 3.19.1

This commit is contained in:
guozhigq
2024-06-12 23:37:29 +08:00
parent b511519323
commit 513c9b94a9
23 changed files with 47 additions and 44 deletions

View File

@ -281,7 +281,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
widget.showEposideCb?.call();
},
style: ButtonStyle(
padding: WidgetStateProperty.all(EdgeInsets.zero),
padding: MaterialStateProperty.all(EdgeInsets.zero),
),
child: const Text(
'选集',
@ -296,7 +296,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
child: TextButton(
onPressed: () => _.toggleVideoFit(),
style: ButtonStyle(
padding: WidgetStateProperty.all(EdgeInsets.zero),
padding: MaterialStateProperty.all(EdgeInsets.zero),
),
child: Obx(
() => Text(
@ -313,7 +313,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
height: 34,
child: TextButton(
style: ButtonStyle(
padding: WidgetStateProperty.all(EdgeInsets.zero),
padding: MaterialStateProperty.all(EdgeInsets.zero),
),
onPressed: () {},
child: Obx(

View File

@ -17,7 +17,7 @@ class ComBtn extends StatelessWidget {
height: 34,
child: IconButton(
style: ButtonStyle(
padding: WidgetStateProperty.all(EdgeInsets.zero),
padding: MaterialStateProperty.all(EdgeInsets.zero),
),
onPressed: () {
fuc!();

View File

@ -68,7 +68,7 @@ class PlayOrPauseButtonState extends State<PlayOrPauseButton>
height: 34,
child: IconButton(
style: ButtonStyle(
padding: WidgetStateProperty.all(EdgeInsets.zero),
padding: MaterialStateProperty.all(EdgeInsets.zero),
),
onPressed: player.playOrPause,
color: Colors.white,