Whether the value in the UI is valid.
Do not try to access value if this is false.
@override bool get isValid => numSamples.isValid;