What do you want to save?
Add Code snippet
New code examples
-
Dart 2022-02-28 02:40:01
when i type string in textediter in flutter it shows intger
Repository().placeAddApiProvider(_section_id.text as int) but it is not work show me this error: Unhandled Exception: type 'String' is not a subtype of type 'int' in type cast E/flutter ( 6950): #0 AddPlaceState.build.<anonymous closure> (pac... Add solution
Best helpers
Shachna
+5
Cali
+5
Veirtimid
+5
Anon8889
+5
Sardathrion
+5
G987
+5
Nuria
+5
Tony Ong
+5
Mike Adams
+5
PoundingRain
+5
Alexingohr
+5
Zhengyue
+5
Shahar Tene
+5
Kang
+5
Altexpape
+5
Aung68618
+5