ValidatorMaxLength class
ValidatorMaxLength 最大长度验证器
Constructors
- ValidatorMaxLength({required int max, required String label})
- ValidatorMaxLength 最大长度验证器
Properties
Methods
-
call(
String? val) → String? -
验证并返回错误信息
inherited
-
isValid(
String? val) → bool -
验证值是否有效
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited