Skip to content

Commit 7668498

Browse files
committed
Updated documentation for equal validator
1 parent 7fde8e4 commit 7668498

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/form_builder_validators.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ class FormBuilderValidators {
3737
};
3838
}
3939

40-
/// [FormFieldValidator] that requires the field's value be true.
41-
/// Commonly used for required checkboxes.
40+
/// [FormFieldValidator] that requires the field's value be equal to the
41+
/// provided value.
4242
static FormFieldValidator<T> equal<T>(
4343
BuildContext context,
4444
T value, {

0 commit comments

Comments
 (0)