positive

IntValidator positive()

Must be positive

Implementation

IntValidator positive() => _addCheck((v) => v <= 0 ? 'must be positive' : '');