isValid property

  1. @override
bool get isValid
override

Whether the value in the UI is valid.

Do not try to access value if this is false.

Implementation

@override
bool get isValid => error == null;