int、double 在Dart 裡,int 與double 並不是型別,而是interface,不過可以直接以型別的方式使用,其預設值為null。 ]int testInt = 0; ]double testDouble = 1.1;