type 'int' is not a subtype of type 'String' in type cast E/flutter (29749): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: type 'int' is not a subtype of type 'String' in type cast code example
Example: 'int' is not a subtype of type 'double' dart
double myDouble = myInt.toDouble();