upgrade: new version syntax
This commit is contained in:
@ -68,7 +68,7 @@ class PlayOrPauseButtonState extends State<PlayOrPauseButton>
|
||||
height: 34,
|
||||
child: IconButton(
|
||||
style: ButtonStyle(
|
||||
padding: MaterialStateProperty.all(EdgeInsets.zero),
|
||||
padding: WidgetStateProperty.all(EdgeInsets.zero),
|
||||
),
|
||||
onPressed: player.playOrPause,
|
||||
color: Colors.white,
|
||||
|
||||
Reference in New Issue
Block a user