I/flutter ( 4700): type 'String' is not a subtype of type 'int' code example Example: 'int' is not a subtype of type 'double' dart double myDouble = myInt.toDouble();