To improve the input experience in these scenarios,
a new tri-state enum, MaxLengthEnforcement, was introduced.
Its values describe supported strategies for handling
active composing regions when applying a
LengthLimitingTextInutFormatter.
A new maxLengthEnforcement parameter that uses
this enum has been added to text fields to replace
the boolean maxLengthEnforced parameter.
With the new enum parameter,
developers can choose different strategies
based on the type of the content the text field expects.

For more information, see the docs for maxLength and
MaxLengthEnforcement.

The default value of the maxLengthEnforcement
parameter is inferred from the TargetPlatform
of the application, to conform to the platform’s conventions:

Description of change