Dart numbers can be classified as: The int data type is used to represent whole numbers. The double data type is used to represent 64-bit floating-point numbers. The num type is an inherited data type of the int and double types .
Read moreIs Numeric in Dart?
In Dart, all numbers are part of the common Object type hierarchy, and there are two concrete, user-visible numeric types: int , representing integer values , and double , representing fractional values. Depending on the platform, those numeric types have different, hidden implementations.
Read more