flutter-form-builder-ecosystem / flutter-form-builder-ecosystem/form_builder_validators

General: Review core validators and extension method validators (duplicated behaviour)

Open
#131 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
67
Forks
106
Avg merge
2d 21h
Merged PRs (30d)
1

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Package/Plugin version

11.0.0

### What you'd like to happen

```Markdown
I think that some core validators could be accomplish with extension methods and viceversa. Maybe can remove some of them.
```

### Alternatives you've considered

```Markdown
Example: skipWhen
I understand that `FormBuilderValidators.skipWhen(validator: FormBuilderValidators.numeric(), condition: (int? value) => value == 0)` is the same that `FormBuilderValidators.numeric().skipWhen(condition: (int? value) => value == 0)`
```

### Aditional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.