Flutter for Beginners
上QQ阅读APP看书,第一时间看更新

Dart types and variables

You probably already know how to declare a simple variable, that is, by using the var keyword followed by the name. One thing to note is that when we did not specify the variable's initial value, it assumed null no matter its type.