mirror of
https://github.com/flutter/samples.git
synced 2025-11-14 03:19:06 +00:00
3.38 / 3.10 (#2742)
This PR makes samples pass CI when 3.10 is released. ## 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 `///`).
This commit is contained in:
@@ -135,8 +135,7 @@ class _BasicTextFieldState extends State<BasicTextField> {
|
||||
_textSelectionControls = cupertinoTextSelectionHandleControls;
|
||||
case TargetPlatform.macOS:
|
||||
// ignore: deprecated_member_use
|
||||
_textSelectionControls =
|
||||
cupertinoDesktopTextSelectionHandleControls;
|
||||
_textSelectionControls = cupertinoDesktopTextSelectionHandleControls;
|
||||
case TargetPlatform.android:
|
||||
case TargetPlatform.fuchsia:
|
||||
// ignore: deprecated_member_use
|
||||
@@ -153,8 +152,7 @@ class _BasicTextFieldState extends State<BasicTextField> {
|
||||
child: GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onPanStart: (dragStartDetails) => _onDragStart(dragStartDetails),
|
||||
onPanUpdate: (dragUpdateDetails) =>
|
||||
_onDragUpdate(dragUpdateDetails),
|
||||
onPanUpdate: (dragUpdateDetails) => _onDragUpdate(dragUpdateDetails),
|
||||
onSecondaryTapDown: (secondaryTapDownDetails) {
|
||||
_renderEditable.selectWordsInRange(
|
||||
from: secondaryTapDownDetails.globalPosition,
|
||||
|
||||
Reference in New Issue
Block a user