TextInputFormatter.lengthLimiting constructor Null safety

const TextInputFormatter.lengthLimiting(
  1. int? maxLength,
  2. {MaxLengthEnforcement? maxLengthEnforcement}
)

Implementation

const factory TextInputFormatter.lengthLimiting(
  int? maxLength, {
  MaxLengthEnforcement? maxLengthEnforcement,
}) = LengthLimitingTextInputFormatter;