๐Ÿ‘จ‍๐Ÿ’ป kimtongting
article thumbnail
Flutter ์ž๋™์™„์„ฑ

Flutter๋Š” ์ฃผ๋กœ Android Studio IDE์—์„œ ๊ฐœ๋ฐœ๋œ๋‹ค. ๋‹จ์ˆœํ•œ ๊ฒƒ์„ ์ฐพ๊ณ  ๋ฐ˜๋ณต์ ์ธ ์ผ์„ ์‹ซ์–ดํ•˜๋Š” ๊ฐœ๋ฐœ์ž๋“ค์€ ๋Š˜ ์ž๋™์™„์„ฑ์„ ์ฐพ๊ฒŒ๋œ๋‹ค. ํด๋ž˜์Šค๋ฅผ ์ƒ์„ฑํ•  ๋•Œ, ์ผ์ผํžˆ ์น˜์ง€ ์•Š๋”๋ผ๋„ ์ž๋™์™„์„ฑ์ด ๋˜๋ฉด ์–ผ๋งˆ๋‚˜ ์ข‹์„๊นŒ.. ๋งˆ์น˜ java์˜ public static void main(String[] args)๊ณผ ๊ฐ™์ด ๋ง์ด๋‹ค. ๋ฌผ๋ก  ๋‹น์—ฐํžˆ ์ง€์›ํ•œ๋‹ค. stateless widget์ด๋‚˜ stateful widget์„ ์ด์šฉํ•  ๋•Œ, ์œ ์šฉํ•˜๋‹ค. #1. StateLess stless + Enter ์ด ๋ช…๋ น์–ด๋ฅผ ์น˜๊ฒŒ ๋˜๋ฉด, ์ด๋ ‡๊ฒŒ ์ž๋™์™„์„ฑ์ด ์ด๋ฃจ์–ด์ง€๊ณ , #2. StateFul stful + Enter ์ด ๋ช…๋ น์–ด๋ฅผ ์น˜๊ฒŒ ๋˜๋ฉด, ์ด๊ฒƒ ๋˜ํ•œ ์ž๋™์™„์„ฑ์ด ์ด๋ฃจ์–ด์ง„๋‹ค.