FlatButton์ ํ์ธํ๋๋ฐ "ํ ์คํธ๊ฐ ์๋ ๋ฒํผ"์ ๊ฐ๋จํ ์๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค. "์ฌ๊ธฐ์ ๋ฒํผ ํ ์คํธ ์ ์ธ"์ด ๋ช ํํ์ง ์์ต๋๋ค. ๋๋ ๊ทธ๊ฒ์ด ์์ ์์ ฏ์ด๋ผ๊ณ ๊ฐ์ ํฉ๋๊น?
https://docs.flutter.io/flutter/material/FlatButton-class.html
๋ฌธ์ ์๋จ์ ๊ฐ๋จํ ์์ ์ค๋ํซ์ ํ์ํ๋ ๊ฒ์ผ๋ก ์ถฉ๋ถํฉ๋๋ค.
cc @ํ์ด์
๋๋ ๋์ํ๋ค!
์๋ฅผ ๋ค์ด ์ฌ๊ธฐ์ ๋ฌธ์์์ ์
๋ฐ์ดํธํ ์ฝ๋๊ฐ ์์ต๋๋ค.
new RaisedButton(
child: new Text('Play!'),
color: Colors.blueAccent,
),
์, ํด๋น API ๋ฌธ์์ ์ํ ์ฝ๋์ ์คํฌ๋ฆฐ์ท์ ์ถ๊ฐํด์ผ ํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋๋ ๋์ํ๋ค!
์๋ฅผ ๋ค์ด ์ฌ๊ธฐ์ ๋ฌธ์์์ ์ ๋ฐ์ดํธํ ์ฝ๋๊ฐ ์์ต๋๋ค.