autocomplete: Remove mistaken paragraph in onSelected doc (#130190)

Fixes #130187.

Fixes #130187 by removing the mistaken paragraph; see there for details.
This commit is contained in:
Chris Bobbe 2023-07-11 15:37:31 -07:00 committed by GitHub
parent e12167d98c
commit 233a1bb316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,10 +244,6 @@ class RawAutocomplete<T extends Object> extends StatefulWidget {
/// {@template flutter.widgets.RawAutocomplete.onSelected} /// {@template flutter.widgets.RawAutocomplete.onSelected}
/// Called when an option is selected by the user. /// Called when an option is selected by the user.
///
/// Any [TextEditingController] listeners will not be called when the user
/// selects an option, even though the field will update with the selected
/// value, so use this to be informed of selection.
/// {@endtemplate} /// {@endtemplate}
final AutocompleteOnSelected<T>? onSelected; final AutocompleteOnSelected<T>? onSelected;