gmana_validation 0.0.2
gmana_validation: ^0.0.2 copied to clipboard
Pure Dart typed validators and extensions for common input, identifier, network, and date formats.
0.0.2 - 2026-10-13 #
Added #
==,hashCode, andcopyWithonEmailValidationConfig,IdentifierValidationConfig,NetworkValidationConfig,NumberValidationConfig,PhoneValidationConfig, andUrlValidationConfig.gmana_value_objectsnow uses these classes instead of its own copies.NumberValidationConfigpresetsnaturalNumber,percentage,price,age, andrating.StringValidation(isValidEmail,isValidPassword,passwordStrength,isValidPhone, and the other boolean shortcuts). It moved here fromgmana_extensions, which re-exports it.GmanaValidationStringXshortcuts for date, email, identifier, network, number, password, phone, text, and URL validation.GmanaValidationResultXinspection helpers:isValid,isInvalid,issueOrNull,valueOrNull, andmessageOrNull.throwaway.emailinkDefaultDisposableDomains. It was the one domain in thegmana_value_objectslist that this list lacked.- A dependency on
package:meta, for@immutable.
Changed #
NumberValidationConfig.positiveInteger()defaultsminto0instead ofnull. Validation results are unchanged, because negatives were already rejected; onlyconfig.minreads differently.
0.0.1 #
- Initial