类成员和变量被默认为是公有的(在Dart中没有“public”这个关键字),尽管对于Dart来说“public”仅仅是脚本,而并非一个涵盖整个页面的作用域。
Class members and variables are considered public by default (there's no "public" keyword in Dart), although "public" for Dart is not a scope that encompasses the entire page - just the script.
类成员和变量被默认为是公有的(在Dart中没有“public”这个关键字),尽管对于Dart来说“public”仅仅是脚本,而并非一个涵盖整个页面的作用域。
Class members and variables are considered public by default (there's no "public" keyword in Dart), although "public" for Dart is not a scope that encompasses the entire page - just the script.
应用推荐