You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// try to parse the given string into a number. num? _tryParse(String value) { final newValue = num.tryParse(value) - forget here return newValue; }
you forget to add = ?? 0;
and one more
here
if (newValue.isEmpty) { // _defaultValidator(newValue) == null
you can check like this.
please fix this in your code.
An error comes
Thank you
The text was updated successfully, but these errors were encountered:
/// try to parse the given string into a number. num? _tryParse(String value) { final newValue = num.tryParse(value) - forget here return newValue; }
you forget to add = ?? 0;
and one more
here
if (newValue.isEmpty) { // _defaultValidator(newValue) == null
you can check like this.
please fix this in your code.
An error comes
Thank you
The text was updated successfully, but these errors were encountered: