void main() { var list1 = const [1, 2, 3]; const list2 = [1, 2, 3]; }
list1和list2有什么区别吗?
Dart 中“const”关键字放置有何不同?
constants dart
constants ×1
dart ×1