摘要:
dart不像java只能在class里面定义属性,而属性为类属性或者对象属性 dart在此之外还可以直接在dart文件里面定义属性 如 test.dart里面的代码 int a = 1; test.dart里面仅仅有这一行代码,但是这个a可以供其他的任何一个方法/函数调用,并且a的内存始终是不变的 阅读全文
sqmw
The awakening is always delayed, there seems to be some fog
|
|
|