How to parse a String to int and not get the next errors? – Flutter
Withvar pinU = int.parse(pin.text); I get this error: E/flutter (16045): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: FormatException: Invalid number (at character 1) E/flutter (16045): E/flutter (16045): ^ With var pinU = pin as int; I get this error: E/flutter (16045): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception:…