1๊ฐ ๊ตฌํ ์ค ์ง๋ฌธ์ด ์์ต๋๋ค
1. ํ๋์ค ๊ด๋ จํด์๋ flutter linter๋ฅผ ์ฐพ์๋ณด์ธ์. ์ฑ๋ฅ์ ์ํ ๊ถ๊ณ ์ฌํญ๊ฐ์ ๊ฒ๋๋ค. ํ๋์ค ๋ถ๋ถ์์ ์ ๊ตฌ๋๋ฅด์๋ฉด add const ~ ๊ฐ ์์ํ
๋ฐ ํด์ฃผ์๋ฉด ์ฌ๋ผ์ง๋๋ค. ๋๋ ignore ~ ํด๋ ์ฌ๋ผ์ง๋๋ค. ๊ถ๊ณ ์ฌํญ์ด๋ผ ์ํด๋ ๋ฌด๋ฐฉํ๋๊น ์ ๋ชจ๋ฅด์๋ฉด ๊ทธ๋ฅ ๋
๋์ธ์. 2. ํ๋ฌํฐ ๋ฒ์ ์
์ด ๋๋ฉด์ RaisedButton๊ฐ์ ๊ฒฝ์ฐ ElevatedButton์ผ๋ก ๋ณ๊ฒฝ๋์๊ฒ๋๋ค. ์ ๋ ๊ฒ ์ทจ์์ ์ด ์๋๊ฒฝ์ฐ ์๋์ฐ๊ธฐ์ค ์ปจํธ๋กคํค ๋๋ฅด์๋ฉด์ ๋ง์ฐ์ค ๊ฐ๋ค๋์๋ฉด ์ค๋ช
๋์ต๋๋ค. 'RaisedButton.RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre.. ์ด๋ฐ ์์ผ๋ก ์ค๋ช
์ด ๋์ต๋๋ค. ๋ฐ๊ฟ์ฃผ์๋ฉด ๋ฉ๋๋ค. ์ทจ์์ ์ด ์๋๊ฒฝ์ฐ์๋ ์ปจํธ๋กคํค ๋๋ฅด๊ณ ๊ฐ๋ค๋๋ฉด ํด๋น ์์ ฏ์ ๋ํ ์ค๋ช
์ด ๋์ต๋๋ค.