Please add a validator to the MacosTextField
##Use case In the Flutter material, the textFomField has a validator which checks the value entered by the user and then returns an error if the input is invalid or null https://api.flutter.dev/flutter/material/TextFormField-class.html
So, today I was working on the Macos version of my app and discovered that the validator is not available in the MacosTextField. I had to build a validator using bloc to validate the text and return errors to users about their input
I searched online and discovered that Apple does not have a validator out of the box like Flutter.
Proposal
So, what I am proposing here is to add a validator similar to what material Flutter uses in the TextFormField, which can help a lot to return errors and show the user what he has to do.
You could also wrap your text field with a FormField widget, have you tried that?
yes, I have tried it and it worked fine, thank you
Great. This is not a priority for us at the moment, but please feel free to contribute the feature if you like.