@@ -1070,6 +1070,8 @@ class EditableText extends StatefulWidget {
1070
1070
/// runs and can validate and change ("format") the input value.
1071
1071
/// * [onEditingComplete] , [onSubmitted] , [onSelectionChanged] :
1072
1072
/// which are more specialized input change notifications.
1073
+ /// * [TextEditingController] , which implements the [Listenable] interface
1074
+ /// and notifies its listeners on [TextEditingValue] changes.
1073
1075
final ValueChanged <String >? onChanged;
1074
1076
1075
1077
/// {@template flutter.widgets.editableText.onEditingComplete}
@@ -1133,9 +1135,16 @@ class EditableText extends StatefulWidget {
1133
1135
/// {@template flutter.widgets.editableText.inputFormatters}
1134
1136
/// Optional input validation and formatting overrides.
1135
1137
///
1136
- /// Formatters are run in the provided order when the text input changes. When
1137
- /// this parameter changes, the new formatters will not be applied until the
1138
- /// next time the user inserts or deletes text.
1138
+ /// Formatters are run in the provided order when the user changes the text
1139
+ /// this widget contains. When this parameter changes, the new formatters will
1140
+ /// not be applied until the next time the user inserts or deletes text.
1141
+ /// Similar to the [onChanged] callback, formatters don't run when the text is
1142
+ /// changed programmatically via [controller] .
1143
+ ///
1144
+ /// See also:
1145
+ ///
1146
+ /// * [TextEditingController] , which implements the [Listenable] interface
1147
+ /// and notifies its listeners on [TextEditingValue] changes.
1139
1148
/// {@endtemplate}
1140
1149
final List <TextInputFormatter >? inputFormatters;
1141
1150
0 commit comments