keyboardInputFormatters method

List<TextInputFormatter>? keyboardInputFormatters(
  1. MaterialLocalizations localizations
)

Optional list of TextInputFormatters applied to the date input field.

These formatters control and restrict how the user enters text, such as enforcing a specific date mask.

The functionality of date input and validation relies on consistency between these formatters and the parseCompactDate method.

Implementation

List<TextInputFormatter>? keyboardInputFormatters(MaterialLocalizations localizations) => null;