* ์ด ํ๋ฌ๊ทธ์ธ์ ๊ฐ์ฌ๋๋ฆฝ๋๋ค *
ํ๋ ์ด์ด ์ปจํธ๋กค์์ ์ ์ฒด ํ๋ฉด ๋ฒํผ์ ์จ๊ธธ ์ ์๋ ๊ธฐ๋ฅ์ ์ถ๊ฐํด ์ฃผ์๊ฒ ์ต๋๊น?
์ด๊ฒ์ YoutubePlayer์ ์๋ก์ด bottomActions ๋ชฉ๋ก์ ์ ๊ณตํ๊ณ FullScreenButton์ ํฌํจํ์ง ์์์ผ๋ก์จ ์ด๋ฏธ ๊ฐ๋ฅํฉ๋๋ค.
YoutubePlayer(
controller: _controller,
showVideoProgressIndicator: true,
bottomActions: <Widget>[
const SizedBox(width: 14.0),
CurrentPosition(),
const SizedBox(width: 8.0),
ProgressBar(isExpanded: true),
RemainingDuration(),
const PlaybackSpeedButton(),
],
);
์ด๊ฒ์ด ๋น์ ์ด ์ถ๊ตฌํ๋ ๋ฐ๊ฐ ๋๊ธธ ๋ฐ๋๋๋ค!
์, ํจ๊ณผ๊ฐ ์์์ต๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ด๊ฒ์ YoutubePlayer์ ์๋ก์ด bottomActions ๋ชฉ๋ก์ ์ ๊ณตํ๊ณ FullScreenButton์ ํฌํจํ์ง ์์์ผ๋ก์จ ์ด๋ฏธ ๊ฐ๋ฅํฉ๋๋ค.
YoutubePlayer( controller: _controller, showVideoProgressIndicator: true, bottomActions: <Widget>[ const SizedBox(width: 14.0), CurrentPosition(), const SizedBox(width: 8.0), ProgressBar(isExpanded: true), RemainingDuration(), const PlaybackSpeedButton(), ], );
์ด๊ฒ์ด ๋น์ ์ด ์ถ๊ตฌํ๋ ๋ฐ๊ฐ ๋๊ธธ ๋ฐ๋๋๋ค!