Results for “TextInputFormatter”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Guides
API reference
- TextInputFormatterclass
TextInputFormatter can be optionally injected into an EditableText to provide as-you-type validation and formatting of the text being edited. services.TextInputFormatter TextInputFormatter Text Input Formatter
- TextInputFormatter.withFunctionconstructor
shorthand to creating a custom TextInputFormatter which formats incoming text input changes with the given function. services.TextInputFormatter.TextInputFormatter.withFunction TextInputFormatter withFunction Text Input Formatter.with Function constructor services
- TextInputFormatter.newconstructor
provide const constructors so that they can be used in const expressions. services.TextInputFormatter.TextInputFormatter.new TextInputFormatter new Text Input Formatter.new constructor services
- services.TextInputFormatFunctiontypedef
Function signature expected for creating custom TextInputFormatter shorthands via TextInputFormatter.withFunction. services.TextInputFormatFunction TextInputFormatFunction Text Input Format Function typedef services
- LengthLimitingTextInputFormatterclass
TextInputFormatter that prevents the insertion of more characters than allowed. services.LengthLimitingTextInputFormatter LengthLimitingTextInputFormatter Length Limiting Text Input Formatter class services
- FilteringTextInputFormatterclass
TextInputFormatter that prevents the insertion of characters matching (or not matching) a particular pattern, by replacing the characters with the given replacementString. services.FilteringTextInputFormatter FilteringTextInputFormatter Filtering Text Input
Version changes
- Deprecated API removed after v2.103.0.0removed
OutlinedButtonThemeData TextButtonThemeData Scaffold SnackBar ScaffoldMessenger MaterialApp RectangularSliderTrackShape.disabledThumbGapWidth RectangularSliderTrackShape ThemeData TextSelectionThemeData RenderEditable.onSelectionChanged TextSelectionDelegate.textEditingValue TextSelectionDelegate.userUpdateTextEditingValue TextInputFormatter
- TextInputClient currentTextEditingValue1.17.0breaking
Add a field, `currentTextEditingValue`, to the `TextInputClient` interface to get the current