getBasicFormatters static method
Creates basic text formatters with length limiting
Implementation
static List<TextInputFormatter> getBasicFormatters({int? maxLength}) =>
<TextInputFormatter>[
if (maxLength != null) _getMaxLengthFormatter(maxLength),
];