字符串的拼接
avoid using braces in interpolcation when not needs
當不需要時,避免使用大括號在interpolcation
如果是一個單詞的話,可以不需要加花括號了。
Name non-constant identifiers using lowerCamelCase
使用駝峰的非恆定的標識符名稱
This class (or a class which this class inherits from) is marked as '@immutable', but one or more of
搜索到解決方法地址:
https://www.cnblogs.com/110-913-1025/p/11352002.html
經過搜索找到了解決方法,用final修飾
但是final和var 還不能同時修飾,於是就去掉var