maxLengthEnforced property
- @Deprecated('Use maxLengthEnforcement parameter which provides more specific ' 'behavior related to the maxLength limit. ' 'This feature was deprecated after v1.25.0-5.0.pre.')
final
If maxLength is set, maxLengthEnforced indicates whether or not to enforce the limit, or merely provide a character counter and warning when maxLength is exceeded.
If true, prevents the field from allowing more than maxLength characters.
Implementation
@Deprecated(
'Use maxLengthEnforcement parameter which provides more specific '
'behavior related to the maxLength limit. '
'This feature was deprecated after v1.25.0-5.0.pre.',
)
final bool maxLengthEnforced;