mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Flutter 3.32 (#2618)
Updates samples for release 3.32 ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I have added sample code updates to the [changelog]. - [x] I updated/added relevant documentation (doc comments with `///`). If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md [changelog]: ../CHANGELOG.md
This commit is contained in:
@@ -74,7 +74,7 @@ class _BasicTextFieldState extends State<BasicTextField> {
|
||||
}
|
||||
|
||||
if (cause == SelectionChangedCause.longPress ||
|
||||
cause == SelectionChangedCause.scribble) {
|
||||
cause == SelectionChangedCause.stylusHandwriting) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -837,7 +837,7 @@ class BasicTextInputClientState extends State<BasicTextInputClient>
|
||||
case SelectionChangedCause.drag:
|
||||
case SelectionChangedCause.forcePress:
|
||||
case SelectionChangedCause.longPress:
|
||||
case SelectionChangedCause.scribble:
|
||||
case SelectionChangedCause.stylusHandwriting:
|
||||
case SelectionChangedCause.tap:
|
||||
case SelectionChangedCause.toolbar:
|
||||
requestKeyboard();
|
||||
|
||||
Reference in New Issue
Block a user