Til - 250111

jihun-heojihun-heo
1 min read

[TIL] Flutter & Dart ν•™μŠ΅

πŸ“š 였늘 배운 것

Container μ‚¬μš©, BoxDecoration μ‚¬μš© λ“±. 이런 μœ„μ ―μ΄ μžˆλ‹€λŠ” μ •λ„λ§Œ μ•Œμ•„λ„ 될 κ²ƒμœΌλ‘œ λ³΄μž„.

πŸ€” λ‚΄ 생각

  • [κΆκΈˆν•œ 점]

    • μ—†μŒ
  • [λΉ„νŒμ  뢄석]

    • μ—†μŒ
  • [싀무 μ μš©μ‹œ 고렀사항]

    • μ—†μŒ

πŸ’‘ μ°Έκ³  자료

  • [μΆ”κ°€λ‘œ μ°Ύμ•„λ³Έ λ‚΄μš©]

    • λ‚΄ IDEμ—μ„œλŠ” const κ°•μ œ ν‘œμ‹œκ°€ μ•ˆλ˜λŠ” λΆ€λΆ„. 확인

    • analysis_options.yaml νŒŒμΌμ—μ„œ 별도 λͺ…μ‹œ μ—†μŒ.

    • 이전 ν”ŒλŸ¬ν„° λ²„μ „μ—μ„ λŠ const μ‚¬μš©μ‹œ κ²½κ³  ν‘œμ‹œ 된 κ²ƒμœΌλ‘œ λ³΄μ΄λŠ”λ° ν•΄λ‹Ή λΆ€λΆ„ 버전 μ—…λ°μ΄νŠΈ λ“±μœΌλ‘œ 사라진 κ²ƒμœΌλ‘œ λ³΄μž„

    • analysis_options.yaml μ•„λž˜ λ‚΄μš© μ μš©μ‹œ const μ„€μ • ν™œμ„±ν™” κ°€λŠ₯

linter:  
  rules:    
    prefer_const_constructors: true
0
Subscribe to my newsletter

Read articles from jihun-heo directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

jihun-heo
jihun-heo