전체 글79 [Dart] #1 Variables What you can learn in this post 1. How to declare variables in Dart 2. What is Null Safety 1. How to declare variables in Dart [Can be overwritten later] 1st. Specify type when? class property void main () { int i = 12; i = 121212; } 2nd. var when? local variables in method, small functions local variables void main () { var name = 'la' name = 'lalala' } 3rd. dynamic when? available in all types.. 2024. 1. 10. 이전 1 ··· 11 12 13 14 다음