is there a way to validate if a users input is a valid float? I need to verify that the user is inputting valid project estimates $$
only costs up to the hundreds is allowed, example: 1.99 .99
no commas are allowed no negative numbers only one period is allowed
I am using a TextFormField, and I am using the following keyboard: keyboardType: TextInputType.number,
I know I have to do some type of validation using the validator but I am stuck