๋ฐ์คํฌํ์์ ๋ฉํ์ผ๋ก ์
๋ฌด์ฉ ํด์ ์ฎ๊ธฐ๋ฉด์ ์ฌ๋ฌ๊ฐ์ง ์
ํ
์ ๋ค์ ํ๊ฒ ๋์๋๋ฐ ์งํ์ค์ด๋ ํ๋ก์ ํธ๋ฅผ github์์ clone ํ์ npm install์ ํ๋ ค๋๋ฐ ์ ๋๋ ๊ฒ์ด๋ค. ERESOLVE unable to resolve dependency tree ์๋ฐ ๋ฌธ์ฅ๊ณผ ํจ๊ป eslint ๊ด๋ จ ์๋ฌ๊ฐ ๊ณ์ํด์ ๋จ๋ฉด์ npm install error๊ฐ ๊ณ์ํด์ ๋จ. eslint ์ค์ ์ ๋ฐ๊ฟ์ค์ผํ๋ ๊ฑด๊ฐ ์ถ์ด์ ๋ง๋งํ๋๋ฐ, ์์ธ๋ก ํด๊ฒฐ์ฑ
์ ๊ฐ๋จํ๋ค. ๊ฐ์ ๋ก npm install์ ์งํํด์ฃผ๋ฉด ๋๋ค. ์๋ฌ์ ์์ฒญ ๋ง์ ๊ธ์ด ์ซ ๋์ค๋๋ฐ ๊ฒ์ํ๋ค๋ณด๋ ๋๋ฌด ์ ์ ๋ฆฌ๋์ด์๋ ํฌ์คํธ๊ฐ ์์ด์ ๊ณต์ ~~ https://www.korecmblog.com/ERESOLVE-unable-to-resolve-dependency-t..
error
๐ข Error: App(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null. โ
์ค๋๋ง์ ๋ง๋ ์ ๋ง ๊ฐ๋จํ ์๋ฌ! ์ต๊ทผ์ ๋ง๋ ์๋ฌ๋ค์ ๊ธฐ๋ณธ 2์๊ฐ ์ก์๋๊ฒ ๊ฐ์๋๋ฐ, ์ด ์๋ฌ๋ ์ ๋ง ๊ฐ๋จํ๊ฒ ์ฐพ์๋๋ค. ๊ดํธ๊ฐ ์ด๋๊ฐ์์ ๋ฏธ์ฝ๋์๋๊ฒ!! ๊ทธ๋์ return ์ ์๋ฆฌ์ return ์ด ์ ๋๋ก ๋ค์ด๊ฐ์ง ์์์ ์๊ธด ์๋ฌ์ด๋ค! ์ด๋๊ฐ์์ return ์ ์ ๋๋ก ํด์ฃผ์ง ๋ชป ํ ๋ ๋ํ๋๋ ์๋ฌ์ด๋, ์ฐฌ์ฐฌํ ์ฝ๋๋ฅผ ์ดํผ๋ค๋ณด๋ฉด ๋ฐ๋ก ํด๊ฒฐ ํ ์ ์๋ค!
ListView.builder์ ์ฌ์ฉํด์ ๊ตฌํํ๋ค๊ฐ ๋ณธ ๋ง์ฃผํ ์๋ฌ์ด๋ค. ๋ฆฌ์คํธ๋ฅผ 5๊ฐ ์ ๋๋ฅผ ๋ง๋ค์ด์ ๋ฐ๋ณต์์ผฐ๋๋ฐ ์๋ฎฌ๋ ์ดํฐ ํ๋ฉด์ ๋
ธ๋ ๋ฐํ์ ์์ ๊ฐ์ ์๋ฌ๊ฐ ๋ฌ๋ค. โพ ํด๊ฒฐ๋ฐฉ์ @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('์์ ์ฒด์กํ๊ณผ'), centerTitle: true, backgroundColor: Colors.white, elevation: 0, leading: IconButton( icon: Icon(Icons.arrow_back), color: Colors.grey, iconSize: 25.0, onPressed: () {}, ), actions: [ Container..