Skip to content

Commit

Permalink
update readMe
Browse files Browse the repository at this point in the history
  • Loading branch information
inc16sec authored Aug 15, 2022
1 parent a3b9926 commit daa082a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,11 @@ YoutubeValueBuilder(
? Icons.pause
: Icons.play_arrow,
),
onPressed: value.isReady
? () {
value.playerState == PlayerState.playing
? context.ytController.pause()
: context.ytController.play();
}
: null,
onPressed: () {
value.playerState == PlayerState.playing
? context.ytController.pause()
: context.ytController.play();
},
);
},
);
Expand Down

0 comments on commit daa082a

Please sign in to comment.