isValid property

  1. @override
bool get isValid
override

Returns true if the field is valid and has no custom error text.

Implementation

@override
/// Returns `true` if the field is valid and has no custom error text.
bool get isValid => super.isValid && _customErrorText == null;