Skip to content

TextField with TextAlign.right throws Failed assertion: line 218 pos 12: 'isValid': is not true. #165979

Closed as duplicate

Description

@rekire

Steps to reproduce

  1. Create a Column with focusable widgets e.g. FilledButton and a TextField
  2. Set textAlign: TextAlign.right or end
  3. Use the up/down arrow or tab key leave the widget

Expected results

A widget in the desired direction get the keyboard focus

Actual results

The "old" widget keeps the focus

Code sample

Code sample
MaterialApp(
  home: Scaffold(
    body: Center(
      child: Padding(
        padding: const EdgeInsets.all(16),
        child: Column(
          mainAxisSize: MainAxisSize.min,
          spacing: 16,
          children: [
            Text('Use the arrow keys (up/down) to cause the bug'),
            FilledButton(onPressed: () {}, child: Text('aaa')),
            TextField(autofocus: true, textAlign: TextAlign.right),
            FilledButton(onPressed: () {}, child: Text('bbb')),
          ],
        ),
      ),
    ),
  ),
)

Screenshots or Video

Screenshots / Video demonstration
bug.mov

Logs

Logs
======== Exception caught by services library ======================================================
The following assertion was thrown during method call TextInputClient.performSelectors:
'package:flutter/src/rendering/editable.dart': Failed assertion: line 218 pos 12: 'isValid': is not true.


Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.yml

When the exception was thrown, this was the stack: 
#2      VerticalCaretMovementRun.movePrevious (package:flutter/src/rendering/editable.dart:218:12)
#3      _UpdateTextSelectionVerticallyAction.invoke (package:flutter/src/widgets/editable_text.dart:6394:26)
#4      _OverridableContextAction.invokeDefaultAction (package:flutter/src/widgets/actions.dart:1812:28)
#5      _OverridableActionMixin.invoke (package:flutter/src/widgets/actions.dart:1671:15)
#6      Action._invoke (package:flutter/src/widgets/actions.dart:334:45)
#7      ActionDispatcher.invokeAction (package:flutter/src/widgets/actions.dart:641:19)
#8      Actions.invoke.<anonymous closure> (package:flutter/src/widgets/actions.dart:965:48)
#9      Actions._visitActionsAncestors (package:flutter/src/widgets/actions.dart:747:18)
#10     Actions.invoke (package:flutter/src/widgets/actions.dart:959:30)
#11     EditableTextState.performSelector (package:flutter/src/widgets/editable_text.dart:4999:17)
#12     ListBase.forEach (dart:collection/list.dart:51:13)
#13     TextInput._handleTextInputInvocation (package:flutter/src/services/text_input.dart:2009:19)
#14     TextInput._loudlyHandleTextInputInvocation (package:flutter/src/services/text_input.dart:1866:20)
#15     MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:611:55)
#16     MethodChannel.setMethodCallHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:601:55)
#17     _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:650:35)
#18     _invoke2 (dart:ui/hooks.dart:348:13)
#19     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:45:5)
#20     _Channel.push (dart:ui/channel_buffers.dart:136:31)
#21     ChannelBuffers.push (dart:ui/channel_buffers.dart:344:17)
#22     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:786:22)
#23     _dispatchPlatformMessage (dart:ui/hooks.dart:262:31)
(elided 2 frames from class _AssertionError)
call: MethodCall(TextInputClient.performSelectors, [2, [moveUp:]])
====================================================================================================

======== Exception caught by services library ======================================================
The following assertion was thrown during method call TextInputClient.performSelectors:
'package:flutter/src/rendering/editable.dart': Failed assertion: line 203 pos 12: 'isValid': is not true.


Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.yml

When the exception was thrown, this was the stack: 
#2      VerticalCaretMovementRun.moveNext (package:flutter/src/rendering/editable.dart:203:12)
#3      _UpdateTextSelectionVerticallyAction.invoke (package:flutter/src/widgets/editable_text.dart:6393:26)
#4      _OverridableContextAction.invokeDefaultAction (package:flutter/src/widgets/actions.dart:1812:28)
#5      _OverridableActionMixin.invoke (package:flutter/src/widgets/actions.dart:1671:15)
#6      Action._invoke (package:flutter/src/widgets/actions.dart:334:45)
#7      ActionDispatcher.invokeAction (package:flutter/src/widgets/actions.dart:641:19)
#8      Actions.invoke.<anonymous closure> (package:flutter/src/widgets/actions.dart:965:48)
#9      Actions._visitActionsAncestors (package:flutter/src/widgets/actions.dart:747:18)
#10     Actions.invoke (package:flutter/src/widgets/actions.dart:959:30)
#11     EditableTextState.performSelector (package:flutter/src/widgets/editable_text.dart:4999:17)
#12     ListBase.forEach (dart:collection/list.dart:51:13)
#13     TextInput._handleTextInputInvocation (package:flutter/src/services/text_input.dart:2009:19)
#14     TextInput._loudlyHandleTextInputInvocation (package:flutter/src/services/text_input.dart:1866:20)
#15     MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:611:55)
#16     MethodChannel.setMethodCallHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:601:55)
#17     _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:650:35)
#18     _invoke2 (dart:ui/hooks.dart:348:13)
#19     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:45:5)
#20     _Channel.push (dart:ui/channel_buffers.dart:136:31)
#21     ChannelBuffers.push (dart:ui/channel_buffers.dart:344:17)
#22     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:786:22)
#23     _dispatchPlatformMessage (dart:ui/hooks.dart:262:31)
(elided 2 frames from class _AssertionError)
call: MethodCall(TextInputClient.performSelectors, [2, [moveDown:]])
====================================================================================================

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.3.2 24D81 darwin-arm64, locale de-DE) [2,1s]
    • Flutter version 3.29.2 on channel stable at /Users/rekire/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c236373904 (vor 13 Tagen), 2025-03-13 16:17:06 -0400
    • Engine revision 18b71d647a
    • Dart version 3.7.2
    • DevTools version 2.42.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [2,1s]
    • Android SDK at /Users/rekire/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /Users/rekire/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.2) [2,4s]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16C5032a
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [95ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.3) [95ms]
    • Android Studio at /Users/rekire/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)

[✓] IntelliJ IDEA Community Edition (version 2024.3.3) [93ms]
    • IntelliJ at /Users/rekire/Applications/IntelliJ IDEA Community Edition.app
    • Flutter plugin version 83.0.4
    • Dart plugin version 243.23654.44

[✓] VS Code (version 1.92.2) [9ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (4 available) [11,8s]
    • Pixel 6 (mobile)                • 36261FDF6S1R3L        • android-arm64  • Android 15 (API 35)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 15.3.2 24D81 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 15.3.2 24D81 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 134.0.6998.166
    ! Error: Browsing on the local area network for iPhone von Fast. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources [576ms]
    • All expected network resources are available.

• No issues found!

Activity

  1. added
    a: text inputEntering text in a text field or keyboard related problems
    in triagePresently being triaged by the triage team
    and removed
    a: text inputEntering text in a text field or keyboard related problems
    on Mar 26, 2025
  2. maheshj01 commented on Mar 27, 2025

    @maheshj01
    Member

    @rekire Thanks for filing the issue. I am not really sure I understood the issue. Do you mean when the input is focused and switched to other apps and the focus stays? Can you please update the reproducible steps.

  3. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Mar 27, 2025
  4. rekire commented on Mar 27, 2025

    @rekire
    ContributorAuthor

    When you remove the alignment right part, you can use the arrow keys to move the keyboard focus to the buttons aaa or bbb depending if you press or or down.

  5. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Mar 27, 2025
  6. maheshj01 commented on Mar 27, 2025

    @maheshj01
    Member

    Thanks for the clarification, Reproducible on stable and the master channel. When Arrow keys are pressed assertion error is thrown. This reproduces onall platforms except the web.

    Screen.Recording.2025-03-27.at.15.19.43.mov

    steps to reproduce

    • run the code
    • enter some text
    • press up/down arrow keys
    code sample
    import 'package:flutter/material.dart';
    
    void main() {
      runApp(const MyApp());
    }
    
    class MyApp extends StatelessWidget {
      const MyApp({super.key});
      @override
      Widget build(BuildContext context) {
        return MaterialApp(
          home: Scaffold(
            body: Center(
              child: Padding(
                padding: const EdgeInsets.all(16),
                child: Column(
                  mainAxisSize: MainAxisSize.min,
                  spacing: 16,
                  children: [
                    Text('Use the arrow keys (up/down) to cause the bug'),
                    FilledButton(onPressed: () {}, child: Text('aaa')),
                    TextField(autofocus: true, textAlign: TextAlign.right),
                    FilledButton(onPressed: () {}, child: Text('bbb')),
                  ],
                ),
              ),
            ),
          ),
        );
      }
    }
    logs (master)
    (.venv) mahesh@MacBook-Pro-10 sample_app % flutterm run -d macos
    Resolving dependencies... 
    Downloading packages... 
      material_color_utilities 0.11.1 (0.12.0 available)
    Got dependencies!
    1 package has newer versions incompatible with dependency constraints.
    Try `flutter pub outdated` for more information.
    Launching lib/main.dart on macOS in debug mode...
    Running pod install...                                           1,216ms
    --- xcodebuild: WARNING: Using the first of multiple matching destinations:
    { platform:macOS, arch:arm64, id:00008132-0009284E1E39001C, name:My Mac }
    { platform:macOS, arch:x86_64, id:00008132-0009284E1E39001C, name:My Mac }
    Building macOS application...                                           
    ✓ Built build/macos/Build/Products/Debug/sample_app.app
    2025-03-27 15:32:58.758 sample_app[16584:276648] +[IMKClient subclass]: chose IMKClient_Modern
    2025-03-27 15:32:58.758 sample_app[16584:276648] +[IMKInputSession subclass]: chose IMKInputSession_Modern
    Syncing files to device macOS...                                   317ms
    
    Flutter run key commands.
    r Hot reload. 🔥🔥🔥
    R Hot restart.
    h List all available interactive commands.
    d Detach (terminate "flutter run" but leave application running).
    c Clear the screen
    q Quit (terminate the application on the device).
    
    A Dart VM Service on macOS is available at: http://127.0.0.1:58074/z8XJSoQukG4=/
    The Flutter DevTools debugger and profiler on macOS is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:58074/z8XJSoQukG4=/
    
    ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
    The following assertion was thrown during method call TextInputClient.performSelectors:
    'package:flutter/src/rendering/editable.dart': Failed assertion: line 218 pos 12: 'isValid': is not
    true.
    
    Either the assertion indicates an error in the framework itself, or we should provide substantially
    more information in this error message to help you determine and fix the underlying cause.
    In either case, please report this assertion by filing a bug on GitHub:
      https://github.com/flutter/flutter/issues/new?template=2_bug.yml
    
    When the exception was thrown, this was the stack:
    #2      VerticalCaretMovementRun.movePrevious (package:flutter/src/rendering/editable.dart:218:12)
    #3      _UpdateTextSelectionVerticallyAction.invoke (package:flutter/src/widgets/editable_text.dart:6444:26)
    #4      _OverridableContextAction.invokeDefaultAction (package:flutter/src/widgets/actions.dart:1812:28)
    #5      _OverridableActionMixin.invoke (package:flutter/src/widgets/actions.dart:1671:15)
    #6      Action._invoke (package:flutter/src/widgets/actions.dart:334:45)
    #7      ActionDispatcher.invokeAction (package:flutter/src/widgets/actions.dart:641:19)
    #8      Actions.invoke.<anonymous closure> (package:flutter/src/widgets/actions.dart:965:48)
    #9      Actions._visitActionsAncestors (package:flutter/src/widgets/actions.dart:747:18)
    #10     Actions.invoke (package:flutter/src/widgets/actions.dart:959:30)
    #11     EditableTextState.performSelector (package:flutter/src/widgets/editable_text.dart:5016:17)
    #12     ListBase.forEach (dart:collection/list.dart:51:13)
    #13     TextInput._handleTextInputInvocation (package:flutter/src/services/text_input.dart:2094:19)
    #14     TextInput._loudlyHandleTextInputInvocation (package:flutter/src/services/text_input.dart:1951:20)
    #15     MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:611:55)
    #16     MethodChannel.setMethodCallHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:601:55)
    #17     _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:653:35)
    #18     _invoke2 (dart:ui/hooks.dart:363:13)
    #19     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:45:5)
    #20     _Channel.push (dart:ui/channel_buffers.dart:136:31)
    #21     ChannelBuffers.push (dart:ui/channel_buffers.dart:344:17)
    #22     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:802:22)
    #23     _dispatchPlatformMessage (dart:ui/hooks.dart:277:31)
    (elided 2 frames from class _AssertionError)
    
    call:
      MethodCall(TextInputClient.performSelectors, [3, [moveUp:]])
    ════════════════════════════════════════════════════════════════════════════════════════════════════
    
    Another exception was thrown: 'package:flutter/src/rendering/editable.dart': Failed assertion: line 203 pos 12: 'isValid': is not true.
    flutter doctor -v

    master

    [✓] Flutter (Channel master, 3.31.0-1.0.pre.291, on macOS 15.1.1 24B2091 darwin-arm64, locale en-US) [1,947ms]
        • Flutter version 3.31.0-1.0.pre.291 on channel master at /Users/mahesh/Development/flutter_master
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision 479c4bb224 (39 minutes ago), 2025-03-27 14:44:17 -0400
        • Engine revision 479c4bb224
        • Dart version 3.8.0 (build 3.8.0-231.0.dev)
        • DevTools version 2.45.0-dev.0
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [2.1s]
        • Android SDK at /Users/mahesh/Library/Android/sdk
        • Platform android-35, build-tools 35.0.0
        • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
        • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
          This is the JDK bundled with the latest Android Studio installation on this machine.
          To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
        • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS (Xcode 16.0) [1,500ms]
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Build 16A242d
        • CocoaPods version 1.16.2
    
    [✓] Chrome - develop for the web [134ms]
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 2024.3) [134ms]
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/9212-flutter
        • Dart plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/6351-dart
        • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
    
    [✓] IntelliJ IDEA Community Edition (version 2021.2.1) [132ms]
        • IntelliJ at /Applications/IntelliJ IDEA CE.app
        • Flutter plugin version 61.2.4
        • Dart plugin version 212.5080.8
    
    [✓] VS Code (version 1.96.2) [19ms]
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.102.0
    
    [✓] Connected device (3 available) [6.8s]
        • iPad Pro 11-inch (M4) (mobile) • A97192B5-5CFD-4164-BF2A-A6E2972614FF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-18-0
          (simulator)
        • macOS (desktop)                • macos                                • darwin-arm64   • macOS 15.1.1 24B2091 darwin-arm64
        • Chrome (web)                   • chrome                               • web-javascript • Google Chrome 131.0.6778.265
    
    [✓] Network resources [317ms]
        • All expected network resources are available.
    
    • No issues found!

    stable

    [✓] Flutter (Channel stable, 3.29.2, on macOS 15.1.1 24B2091 darwin-arm64, locale en-US) [822ms]
        • Flutter version 3.29.2 on channel stable at /Users/mahesh/Development/flutter
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision c236373904 (2 weeks ago), 2025-03-13 16:17:06 -0400
        • Engine revision 18b71d647a
        • Dart version 3.7.2
        • DevTools version 2.42.3
    [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [3.2s]
        • Android SDK at /Users/mahesh/Library/Android/sdk
        • Platform android-35, build-tools 35.0.0
        • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
        • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
          This is the JDK bundled with the latest Android Studio installation on this machine.
          To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
        • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS (Xcode 16.0) [3.1s]
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Build 16A242d
        • CocoaPods version 1.16.2
    
    [✓] Chrome - develop for the web [136ms]
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 2024.3) [135ms]
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/9212-flutter
        • Dart plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/6351-dart
        • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
    
    [✓] IntelliJ IDEA Community Edition (version 2021.2.1) [134ms]
        • IntelliJ at /Applications/IntelliJ IDEA CE.app
        • Flutter plugin version 61.2.4
        • Dart plugin version 212.5080.8
    
    [✓] VS Code (version 1.96.2) [18ms]
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.102.0
    
    [✓] Connected device (4 available) [6.7s]
        • iPad Pro 11-inch (M4) (mobile)  • A97192B5-5CFD-4164-BF2A-A6E2972614FF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-18-0
          (simulator)
        • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 15.1.1 24B2091 darwin-arm64
        • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 15.1.1 24B2091 darwin-arm64
        • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 131.0.6778.265
    
    [✓] Network resources [294ms]
        • All expected network resources are available.
    
    ! Doctor found issues in 1 category.
  7. changed the title [-]Cannot leave TextField via keyboard when textAlign = .right[/-] [+]TextField with `TextAlign.right` throws Failed assertion: line 218 pos 12: 'isValid': is not true.[/+] on Mar 27, 2025
  8. added
    a: text inputEntering text in a text field or keyboard related problems
    has reproducible stepsThe issue has been confirmed reproducible and is ready to work on
    p: material_uimaterial_ui package in flutter/packages
    and removed
    in triagePresently being triaged by the triage team
    on Mar 27, 2025
  9. justinmc commented on Mar 27, 2025

    @justinmc
    Contributor

    CC @LongCatIsLooong from triage, you thought this was a duplicate.

  10. rekire commented on Mar 27, 2025

    @rekire
    ContributorAuthor

    JFYI this also happens on Windows

    Doctor output
    [√] Flutter (Channel stable, 3.29.2, on Microsoft Windows [Version 10.0.26100.3476], locale de-DE) [264ms]
        • Flutter version 3.29.2 on channel stable at c:\dev\flutter
        • Upstream repository ssh://[email protected]/flutter/flutter.git
        • Framework revision c236373904 (2 weeks ago), 2025-03-13 16:17:06 -0400
        • Engine revision 18b71d647a
        • Dart version 3.7.2
        • DevTools version 2.42.3
    
    [√] Windows Version (11 Pro 64-bit, 24H2, 2009) [1.979ms]
    
    [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [1.803ms]
        • Android SDK at C:\dev\android-sdk
        • Platform android-35, build-tools 34.0.0
        • ANDROID_HOME = C:\dev\android-sdk
        • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
          This is the JDK bundled with the latest Android Studio installation on this machine.
          To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
        • Java version OpenJDK Runtime Environment (build 21.0.4+-12508038-b607.1)
        • All Android licenses accepted.
    
    [√] Chrome - develop for the web [64ms]
        • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
    
    [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.3) [63ms]
        • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
        • Visual Studio Community 2022 version 17.8.34330.188
        • Windows 10 SDK version 10.0.22621.0
    
    [√] Android Studio (version 2024.2) [13ms]
        • Android Studio at C:\Program Files\Android\Android Studio
        • Flutter plugin can be installed from:
           https://plugins.jetbrains.com/plugin/9212-flutter
        • Dart plugin can be installed from:
           https://plugins.jetbrains.com/plugin/6351-dart
        • Java version OpenJDK Runtime Environment (build 21.0.4+-12508038-b607.1)
    
    [√] Connected device (3 available) [137ms]
        • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.26100.3476]
        • Chrome (web)      • chrome  • web-javascript • Google Chrome 128.0.6613.86
        • Edge (web)        • edge    • web-javascript • Microsoft Edge 134.0.3124.72
    
    [√] Network resources [579ms]
        • All expected network resources are available.
    
    • No issues found!
  11. LongCatIsLooong commented on Mar 27, 2025

    @LongCatIsLooong
    Contributor

    Duplicate of #139201.

  12. added
    r: duplicateIssue is closed as a duplicate of an existing issue
    on Mar 27, 2025
  13. github-actions commented on Apr 10, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  14. locked as resolved and limited conversation to collaborators on Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsfound in release: 3.29Found to occur in 3.29found in release: 3.31Found to occur in 3.31has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: material_uimaterial_ui package in flutter/packagesplatform-macosBuilding on or for macOS specificallyr: duplicateIssue is closed as a duplicate of an existing issueteam-text-inputOwned by Text Input team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions