Skip to content

The method 'detach' isn't defined for the class 'FocusScopeNode' #31784

@AndreaMiotto

Description

@AndreaMiotto

After a flutter upgrade and a packages upgrade I'm having this error:

The method 'detach' isn't defined for the class 'FocusScopeNode' on:

FocusScope.of(context).detach();

[✓] Flutter (Channel master, v1.5.9-pre.46, on Mac OS X 10.14.4 18E226, locale it-IT)
• Flutter version 1.5.9-pre.46 at /Users/miottoan/flutter
• Framework revision e62b06a (27 minutes ago), 2019-04-29 05:58:18 -0400
• Engine revision 48a5ce8
• Dart version 2.3.0 (build 2.3.0-dev.0.3 c46deebfb6)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/miottoan/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2.1, Build version 10E1001
• ios-deploy 1.9.4
• CocoaPods version 1.6.0

[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 35.0.1
• Dart plugin version 183.5901
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.33.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.26.0

[✓] Connected device (1 available)
• iPhone Xʀ • 28F1BE2E-AE5F-4CAF-A1D8-0FBD47BA45FA • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions