flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
165.65k stars 27.35k forks source link

flutter wearos keyboard Wrong position #70068

Closed au-top closed 3 years ago

au-top commented 3 years ago

flutter wearos keyboard Wrong position At the top, not at the bottom Exactly the same as the problem, I don't get a solution from it. Is the problem solved

https://github.com/flutter/flutter/issues/24001

my code


class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      child: Scaffold(
        endDrawer: Container(
          height: double.infinity,
          child: Text('Hello'),
          width: 100,
          color: Color.fromRGBO(255, 255, 255, 0.9),
        ),
        drawer: testCinPage(),
        body: new TextField(
        ),
      )
    );
  }
}

flutter doctor -v


[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.6 19G73, locale zh-Hans-CN)
    • Flutter version 1.20.4 at /Users/imac/flutter
    • Framework revision fba99f6cf9 (8 周前), 2020-09-14 15:32:52 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/imac/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        sudo gem install cocoapods

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • sdk gwear x86 (mobile) • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

! Doctor found issues in 2 categories.
au-top commented 3 years ago

0DCDD854-A0C1-450A-92A7-BB19C3067360

darshankawar commented 3 years ago

@au-top Closing this as duplicate. The original ticket is assigned P6 label which means a feature request or bug we are unlikely to address.

au-top commented 3 years ago

I tried the same code on win and MacOS 10.15.6

Different situations have occurred, which can run normally on win, but it appears as shown in the figure on MacOS

Is this related to running a virtual machine system

They have the same operating environment

Fluent version 1.20.3

wearos api28 android9

github-actions[bot] commented 3 years ago

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.