Results for “TextEditingValue”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- TextEditingValueclass
current text, selection, and composing state for editing a run of text. flutter_test.TextEditingValue TextEditingValue Text Editing Value class flutter_test
- TextEditingValue.newconstructor
Creates information for editing a run of text. flutter_test.TextEditingValue.TextEditingValue.new TextEditingValue new Text Editing Value.new constructor flutter_test
- TextEditingValue.fromJSONconstructor
Creates an instance of this class from a JSON object. flutter_test.TextEditingValue.TextEditingValue.fromJSON TextEditingValue fromJSON Text Editing Value.from JSON constructor flutter_test
- ReplaceTextIntentclass
Intent that represents a user interaction that attempts to modify the current TextEditingValue in an input field. widgets.ReplaceTextIntent ReplaceTextIntent Replace Text Intent class widgets
- RestorableTextEditingController.fromValueconstructor
Creates a RestorableTextEditingController from an initial TextEditingValue. widgets.RestorableTextEditingController.RestorableTextEditingController.fromValue RestorableTextEditingController fromValue Restorable Text Editing Controller.from Value constructor widgets
- TextEditingController.fromValueconstructor
Creates a controller for an editable text field from an initial TextEditingValue. widgets.TextEditingController.TextEditingController.fromValue TextEditingController fromValue Text Editing Controller.from Value constructor widgets
Version changes
- Change the enterText method to move the caret to the end of the input text2.5.0breaking
text, as opposed to before the text prior to the change. - Different `TextEditingValue.selection` after calling `enterText`: The text field's `TextEditingValue` now has a collapsed selection with
- TextInputClient currentTextEditingValue1.17.0breaking
class to your class similar to the following: ```dart abstract class _TemporaryTextEditingClient { TextEditingValue get currentTextEditingValue; } ``` This allows you to add the new member with an `@override` annotation
- The RenderEditable needs to be laid out before hit testing1.20.0breaking
Instances of `RenderEditable` must be laid out before processing hit testing. Trying
- showAutocorrectionPromptRect method added to TextInputClient1.20.0breaking
A new method,`void showAutocorrectionPromptRect(int start, int end)`, was added to