Results for “TextEditingController”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Handle changes to a text fielddoc
options: Supply an onChanged() callback to a TextField or a TextFormField . Use a TextEditingController . 1. Supply an onChanged() callback to a TextField or a TextFormField The simplest
- Retrieve the value of a text fielddoc
user has entered into a text field using the following steps: Create a TextEditingController . Supply the TextEditingController to a TextField . Display the current value
- User inputdoc
Accept input from the user with buttons and text fields. Learn to
- Stateful widgetsdoc
Learn about StatefulWidgets and rebuilding Flutter UI. Learn when widgets need to
- Send data to the internetdoc
How to use the http package to send data over the internet
API reference
- TextEditingControllerclass
controller for an editable text field. widgets.TextEditingController TextEditingController Text Editing Controller class widgets
- TextEditingController.newconstructor
Creates a controller for an editable text field, with no initial selection. widgets.TextEditingController.TextEditingController.new TextEditingController new Text Editing Controller.new 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
- RestorableTextEditingControllerclass
RestorableProperty that knows how to store and restore a TextEditingController. widgets.RestorableTextEditingController RestorableTextEditingController Restorable Text Editing Controller class widgets
Version changes
- Added BuildContext parameter to TextEditingController.buildTextSpan2.0.0breaking
BuildContext` parameter was added to `TextEditingController.buildTextSpan`. With the `BuildContext` available, users can access `InheritedWidgets` inside `buildTextSpan` to retrieve state required to style the text, or otherwise manipulate
- - Fixes an `EditableText` crash that occurs when a custom `TextEditingController` only implements the `TextEditingController` interface.3.22.2bugfix
Fixes an `EditableText` crash that occurs when a custom `TextEditingController` only implements the `TextEditingController` interface
- TextInputClient currentTextEditingValue1.17.0breaking
Add a field, `currentTextEditingValue`, to the `TextInputClient` interface to get the current