[Flutter] ๐Ÿงฎ Calculator ๋ ˆ์ด์•„์›ƒ ๊ทธ๋ฆฌ๊ธฐ ver.1

Soyun Joยท2022๋…„ 6์›” 30์ผ
0

Flutter๐Ÿ“ฑ์•ฑ ๊ฐœ๋ฐœ

๋ชฉ๋ก ๋ณด๊ธฐ
4/5
post-custom-banner

๐ŸŒŽ Calculator ๋ ˆ์ด์•„์›ƒ ๊ตฌ์„ฑ

ํ™”๋ฉด ๋ ˆ์ด์•„์›ƒ ๊ตฌ์„ฑ : ์ƒ๋‹จ๋ฐ”, ๋””์Šคํ”Œ๋ ˆ์ดTextbox, ํ‚คํŒจ๋“œ

์ด๊ฑฐ ์™œ ์‹œ๋ฆฌ์ฆˆ์— ์ €์žฅ์ด ์•ˆ๋˜๋ƒ..

๐Ÿ“ ์ƒ๋‹จ๋ฐ”

Expanded(
              child: Row(
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Text("     Calculator", textAlign: TextAlign.center, style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold)),
                  Row(
                    mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                    children: [
                      IconButton(onPressed: () {}, icon: Icon(Icons.close_fullscreen)),
                      IconButton(onPressed: () {}, icon: Icon(Icons.check_box_outline_blank)),
                      IconButton(onPressed: () {}, icon: Icon(Icons.close))
                    ],
                  )
                ],
              ),flex: 1,
          ),

๐Ÿ“ Display

Expanded(
              child:
              Center(
                child: Container(
                  alignment: Alignment.bottomRight,
                  height: 100,
                  width: 300,
                  child:
                  Text(
                    '$_state',
                    textAlign: TextAlign.right,
                    style: TextStyle(
                      color: Colors.black,
                      fontSize: 50,
                      fontWeight: FontWeight.bold,
                    ),
                  ),
                ),
              ),flex: 3,
          ),

๐Ÿ“ ํ‚คํŒจ๋“œ


๋งฅ๋ถ์—์„œ ์ œ๊ณตํ•˜๋Š” Calculator app ๊ณ„์‚ฐ๊ธฐ ๋ ˆ์ด์•„์›ƒ์„ ์ฐธ๊ณ ํ•˜์—ฌ ๊ณ„์‚ฐ๊ธฐ ๋ ˆ์ด์•„์›ƒ์„ ๊ทธ๋ ค๋ณด๋ ค๊ณ  ํ•œ๋‹ค.

๊ธฐ๋Šฅ ๋„ฃ๊ธฐ๋Š” ๋‹ค์Œ์ฃผ์—~!

profile
์ƒ๊ฐ 10,000 ๋งŽ์€ infp ๐Ÿค”๐Ÿ’ญ
post-custom-banner

0๊ฐœ์˜ ๋Œ“๊ธ€