VSCode1 [VSCode] Use 'const' with the constructor to improve performance. VSCode에서 Flutter 코드 작성 중 파란 줄이 엄청 많이 뜨는 경우가 있는데, 문구는 아래와 같다 Use 'const' with the constructor to improve performance.Try adding the 'const' keyword to the constructor invocation.dart prefer_const_constructors prefer_const_constructorsLearn more about the prefer_const_constructors linter rule.dart.dev 변하지 않을 상수에는 const를 쓰는 걸 권장한다.. 라는 것인데, 어느 것이 const인지 판별하다 오히려 오류가 날 수도 있다는 단점이 있다. 파란 줄을 뜨게 하지 않.. 2024. 8. 22. 이전 1 다음 728x90