Skip to content

Commit

Permalink
Prepare for new release
Browse files Browse the repository at this point in the history
- Add missing Doc Strings in NumberValidator
- Add missing doc in Changelog
  • Loading branch information
joanpablo committed May 10, 2024
1 parent 1ed794b commit 7e56f8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 17.0.0+1

- Reduce `intl` dependency constraint to match Flutter 3.16.0
- Reduce `intl` dependency constraint to match Flutter 3.16.0.
- NumberValidator allows null values.

# 17.0.0

Expand Down
1 change: 1 addition & 0 deletions lib/src/validators/number_validator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class NumberValidator extends Validator<dynamic> {

/// Creates a new NumberValidator instance to validate strings representing numbers.
///
/// [allowNull] (optional): Whether the validator allows null values.
/// [allowedDecimals] (optional): The allowed number of decimal places. Defaults to 0.
/// [allowNegatives] (optional): Whether to allow negative numbers. Defaults to true.
const NumberValidator({
Expand Down

0 comments on commit 7e56f8c

Please sign in to comment.