validator property

  1. @override
FormFieldValidator<String>? validator
final

In material mode this shows the validation text under the field In cupertino mode, it shows a red Border around the CupertinoTextField

Implementation

@override
final FormFieldValidator<String>? validator;