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
164.17k stars 27.07k forks source link

Screen resizes and content is pushed up on opening keyboard on Flutter web #53489

Closed tanweer919 closed 1 year ago

tanweer919 commented 4 years ago

When Keyboard is opened, whole screen resizes and content is pushed up along with bottom navbar even after setting resizeToAvoidBottomInset to false. I am facing this unexpected behaviour only on Flutter web while on Flutter mobile app this seems to work correctly.

Steps to Reproduce

Code snippet

Scaffold(
      resizeToAvoidBottomInset: false,
      bottomNavigationBar:
          BottomNavBar(),
      backgroundColor: Theme.of(context).primaryColor,
      body: Container(
              margin: EdgeInsets.symmetric(vertical: 35, horizontal: 20),
              decoration: BoxDecoration(
                borderRadius: BorderRadius.circular(20.0),
                color: Colors.white,
              ),
              padding: EdgeInsets.all(5.0),
              child: Column(
              mainAxisSize: MainAxisSize.min,
              crossAxisAlignment: CrossAxisAlignment.start,
              children: <Widget>[
                Center(
                    child: Text(
                  'Create Account',
                  style: TextStyle(fontSize: 30),
                )),
                Flexible(
                  child: Padding(
                    padding: const EdgeInsets.all(12.0),
                    child: Text(
                      'To get quotation and quickly scale to production. Kindly signup with us.',
                      style: TextStyle(
                          color: Color(0xff707070),
                          fontSize: 15.0,
                          fontWeight: FontWeight.w300),
                    ),
                  ),
                ),
                Form(
                  key: Signup._signupFormKey,
                  child: Column(
                    children: <Widget>[
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Name',
                            obscureText: false,
                          ),
                        ),
                      ),
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Phone no',
                            obscureText: false,
                          ),
                        ),
                      ),
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Email',
                            obscureText: false,
                          ),
                        ),
                      ),
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Password',
                            obscureText: true,
                          ),
                        ),
                      ),
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Repeat Password',
                            obscureText: true,
                          ),
                        ),
                      ),
                      RegisterButtons(
                        onRegisterPressed: () {},
                      )
                    ],
                  ),
                ),
              ],
            ),
           ),
    );

Expected results:

Form working correctly on Mobile App(Expected behaviour):

Actual results:

Form is resized and pushed up along with bottom navbar on Chrome:

iapicca commented 4 years ago

Hi @tanweer919 could you please provide your flutter doctor -v and, assuming that you are testing the web app on mobile via a static website, could you please provide a link? thank you

tanweer919 commented 4 years ago
[✓] Flutter (Channel beta, v1.15.17, on Mac OS X 10.14.5 18F132, locale en-IN)
    • Flutter version 1.15.17 at /Users/tanweeranwar/Downloads/flutter/flutter
    • Framework revision 2294d75bfa (3 weeks ago), 2020-03-07 00:28:38 +0900
    • Engine revision 5aff311948
    • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/tanweeranwar/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.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_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    ✗ 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

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

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[✓] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • Google Chrome 80.0.3987.149
    • Web Server • web-server • web-javascript • Flutter Tools
tanweer919 commented 4 years ago

Website is in production https://console.makenica.com/

jgrenat commented 4 years ago

We do have the same behavior on our side, is there any workaround?

iapicca commented 4 years ago

Thank for the logs and the link @tanweer919

vazkir commented 4 years ago

I have the exact same problem, this is what happens natively on mobile: Alt Text

And this is the web version: Alt Text The url is: https://pwa.test.newssupply.com/#login

You can see that the whole scafold moves up on web, while natively, it just moves the keyboard over the screen and the Singlechildscrollview scrolls up.

I am using the "MediaQuery.of(context).viewInsets.bottom" to determine the inset needed. I use that inset as bottom padding in the a SinglechildScrollview, but this will always return 0 on web, since the app whole moves up.

I logged the mediaquery viewinset bottom on web, so you can check it on web.

Do you guys know any workarounds?

tanweer919 commented 4 years ago

There is no proper workaround at the moment. To compensate for this issue, I have made pages with text input scrollable by wrapping in a SingleChildScrollView widget.

TahaTesser commented 3 years ago

Hi @tanweer919 Based on your code sample, I see keyboard matches expected results on the latest master

Simulator Screen Shot - iPhone 11 - 2020-09-01 at 20 17 07

code sample ```dart import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Material App', // theme: ThemeData.dark(), home: Home(), ); } } class Home extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( resizeToAvoidBottomInset: false, bottomNavigationBar: BottomNavigationBar( items: const [ BottomNavigationBarItem( icon: Icon(Icons.home), title: Text('Home'), ), BottomNavigationBarItem( icon: Icon(Icons.business), title: Text('Business'), ), BottomNavigationBarItem( icon: Icon(Icons.school), title: Text('School'), ), ], currentIndex: 0, selectedItemColor: Colors.amber[800], // onTap: _onItemTapped, ), backgroundColor: Theme.of(context).primaryColor, body: Container( margin: EdgeInsets.symmetric(vertical: 35, horizontal: 20), decoration: BoxDecoration( borderRadius: BorderRadius.circular(20.0), color: Colors.white, ), padding: EdgeInsets.all(5.0), child: Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [ Center( child: Text( 'Create Account', style: TextStyle(fontSize: 30), )), Flexible( child: Padding( padding: const EdgeInsets.all(12.0), child: Text( 'To get quotation and quickly scale to production. Kindly signup with us.', style: TextStyle( color: Color(0xff707070), fontSize: 15.0, fontWeight: FontWeight.w300), ), ), ), Form( child: Column( children: [ Padding( padding: const EdgeInsets.all(8.0), child: Container( child: TextField( decoration: InputDecoration( labelText: 'Name', border: OutlineInputBorder( borderSide: BorderSide( color: Colors.red, //this has no effect ), borderRadius: BorderRadius.circular(10.0), ), ), obscureText: false, ), ), ), Padding( padding: const EdgeInsets.all(8.0), child: Container( child: TextField( decoration: InputDecoration( labelText: 'Phone no', border: OutlineInputBorder( borderSide: BorderSide( color: Colors.red, //this has no effect ), borderRadius: BorderRadius.circular(10.0), ), ), obscureText: false, ), ), ), Padding( padding: const EdgeInsets.all(8.0), child: Container( child: TextField( decoration: InputDecoration( labelText: 'Email', border: OutlineInputBorder( borderSide: BorderSide( color: Colors.red, //this has no effect ), borderRadius: BorderRadius.circular(10.0), ), ), obscureText: false, ), ), ), Padding( padding: const EdgeInsets.all(8.0), child: Container( child: TextField( decoration: InputDecoration( labelText: 'Password', border: OutlineInputBorder( borderSide: BorderSide( color: Colors.red, //this has no effect ), borderRadius: BorderRadius.circular(10.0), ), ), obscureText: true, ), ), ), Padding( padding: const EdgeInsets.all(8.0), child: Container( child: TextField( decoration: InputDecoration( labelText: 'Repeat Password', border: OutlineInputBorder( borderSide: BorderSide( color: Colors.red, //this has no effect ), borderRadius: BorderRadius.circular(10.0), ), ), obscureText: true, ), ), ), RaisedButton(child: Text('Register'), onPressed: () {}) ], ), ), ], ), ), ); } } ```
flutter doctor -v ``` [✓] Flutter (Channel master, 1.22.0-2.0.pre.162, on Mac OS X 10.15.6 19G2021, locale en-GB) • Flutter version 1.22.0-2.0.pre.162 at /Users/tahatesser/Code/flutter_master • Framework revision bcfad2068e (77 minutes ago), 2020-09-01 08:34:25 -0400 • Engine revision 165abef0a2 • Dart version 2.10.0 (build 2.10.0-77.0.dev) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/tahatesser/Code/sdk • Platform android-29, build-tools 29.0.2 • ANDROID_HOME = /Users/tahatesser/Code/sdk • 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 11.6) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.6, Build version 11E708 • CocoaPods version 1.9.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 48.1.2 • Dart plugin version 193.7547 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) [✓] VS Code (version 1.48.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.13.2 [✓] Connected device (4 available) • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios • iOS 13.6.1 • macOS (desktop) • macos • darwin-x64 • Mac OS X 10.15.6 19G2021 • Web Server (web) • web-server • web-javascript • Flutter Tools • Chrome (web) • chrome • web-javascript • Google Chrome 84.0.4147.135 • No issues found! ```

Are you still experiencing this issue? If yes, Can you please provide your flutter doctor -v with latest stable and flutter run --verbose logs, and a minimal complete reproducible code sample Thank you

tanweer919 commented 3 years ago

@TahaTesser Sorry, but the problem seems to persist in the latest master build too.

Screenshot 2020-09-03 at 13 45 35

Flutter doctor -v

Click to expand [✓] Flutter (Channel master, 1.22.0-10.0.pre.65, on Mac OS X 10.14.6 18G103, locale en-IN) • Flutter version 1.22.0-10.0.pre.65 at /Users/tanweeranwar/Downloads/flutter/flutter • Framework revision 2032a448ed (2 hours ago), 2020-09-02 23:36:19 -0700 • Engine revision 165abef0a2 • Dart version 2.10.0 (build 2.10.0-77.0.dev) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/tanweeranwar/Library/Android/sdk • Platform android-29, build-tools 29.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_202-release-1483-b49-5587405) • All Android licenses accepted. [!] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C504 ✗ 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 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.5) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 43.0.1 • Dart plugin version 191.8593 • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [✓] VS Code (version 1.48.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.13.2 [✓] Connected device (4 available) • Redmi 8A (mobile) • c2e6a8780806 • android-arm • Android 9 (API 28) • macOS (desktop) • macos • darwin-x64 • Mac OS X 10.14.6 18G103 • Web Server (web) • web-server • web-javascript • Flutter Tools • Chrome (web) • chrome • web-javascript • Google Chrome 85.0.4183.83

flutter run --verbose

Click to expand [ +203 ms] executing: [/Users/tanweeranwar/Downloads/flutter/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +82 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ +1 ms] 2032a448edd0da6460250f7d099d324a5989957f [ +1 ms] executing: [/Users/tanweeranwar/Downloads/flutter/flutter/] git tag --points-at HEAD [ +85 ms] Exit code 0 from: git tag --points-at HEAD [ +3 ms] executing: [/Users/tanweeranwar/Downloads/flutter/flutter/] git describe --match *.*.* --first-parent --long --tags [ +77 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags [ ] 1.22.0-9.0.pre-65-g2032a448ed [ +19 ms] executing: [/Users/tanweeranwar/Downloads/flutter/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +17 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] executing: [/Users/tanweeranwar/Downloads/flutter/flutter/] git ls-remote --get-url origin [ +16 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +87 ms] executing: [/Users/tanweeranwar/Downloads/flutter/flutter/] git rev-parse --abbrev-ref HEAD [ +21 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ +13 ms] executing: sw_vers -productName [ +28 ms] Exit code 0 from: sw_vers -productName [ ] Mac OS X [ ] executing: sw_vers -productVersion [ +26 ms] Exit code 0 from: sw_vers -productVersion [ +1 ms] 10.14.6 [ ] executing: sw_vers -buildVersion [ +26 ms] Exit code 0 from: sw_vers -buildVersion [ +1 ms] 18G103 [ +95 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +8 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +41 ms] executing: /Users/tanweeranwar/Library/Android/sdk/platform-tools/adb devices -l [ +16 ms] executing: /usr/bin/xcode-select --print-path [ +17 ms] Exit code 0 from: /usr/bin/xcode-select --print-path [ ] /Applications/Xcode.app/Contents/Developer [ +2 ms] executing: /usr/bin/xcodebuild -version [ +437 ms] Exit code 0 from: /usr/bin/xcodebuild -version [ ] Xcode 11.3.1 Build version 11C504 [ +5 ms] executing: xcrun --find xcdevice [ +13 ms] Exit code 0 from: xcrun --find xcdevice [ ] /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice [ ] executing: xcrun xcdevice list --timeout 2 [ +6 ms] /usr/bin/xcrun simctl list --json devices [ ] executing: /usr/bin/xcrun simctl list --json devices [ +21 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +101 ms] executing: /Users/tanweeranwar/Library/Android/sdk/platform-tools/adb devices -l [ +1 ms] executing: xcrun xcdevice list --timeout 2 [ +1 ms] /usr/bin/xcrun simctl list --json devices [ ] executing: /usr/bin/xcrun simctl list --json devices [ +164 ms] Found plugin firebase_core at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ core-0.4.4+3/ [ +15 ms] Found plugin firebase_core_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ core_web-0.1.1+2/ [ +5 ms] Found plugin firebase_storage at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ storage-3.1.5/ [ +9 ms] Found plugin flutter_keyboard_visibility at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_k eyboard_visibility-0.7.0/ [ +58 ms] Found plugin share at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6 .3+6/ [ +4 ms] Found plugin shared_preferences at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences-0.5.6+3/ [ +3 ms] Found plugin shared_preferences_macos at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences_macos-0.0.1+6/ [ +7 ms] Found plugin shared_preferences_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences_web-0.1.2+4/ [ +30 ms] Found plugin url_launcher at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her-5.4.2/ [ +3 ms] Found plugin url_launcher_macos at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her_macos-0.0.1+4/ [ +6 ms] Found plugin url_launcher_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her_web-0.1.1+1/ [ +184 ms] Found plugin firebase_core at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ core-0.4.4+3/ [ +3 ms] Found plugin firebase_core_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ core_web-0.1.1+2/ [ +4 ms] Found plugin firebase_storage at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ storage-3.1.5/ [ +3 ms] Found plugin flutter_keyboard_visibility at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_k eyboard_visibility-0.7.0/ [ +21 ms] Found plugin share at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6 .3+6/ [ +3 ms] Found plugin shared_preferences at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences-0.5.6+3/ [ +2 ms] Found plugin shared_preferences_macos at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences_macos-0.0.1+6/ [ +5 ms] Found plugin shared_preferences_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences_web-0.1.2+4/ [ +9 ms] Found plugin url_launcher at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her-5.4.2/ [ +2 ms] Found plugin url_launcher_macos at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her_macos-0.0.1+4/ [ +2 ms] Found plugin url_launcher_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her_web-0.1.1+1/ [ +38 ms] Generating /Users/tanweeranwar/Documents/flutter/makenica-flutter/android/app/src/main/java/io/flutte r/plugins/GeneratedPluginRegistrant.java [ +148 ms] Launching lib/main.dart on Web Server in debug mode... [ +334 ms] List of devices attached c2e6a8780806 device usb:337641472X product:olivelite model:Redmi_8A device:olivelite transport_id:3 [ +17 ms] List of devices attached c2e6a8780806 device usb:337641472X product:olivelite model:Redmi_8A device:olivelite transport_id:3 [ +83 ms] { "devices" : { "com.apple.CoreSimulator.SimRuntime.watchOS-6-1" : [ { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple Watch Series 4 - 40mm", "udid" : "786F0C73-6D4C-4A99-8D30-225A6D0E7F5F" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple Watch Series 4 - 44mm", "udid" : "2DDAA1B9-BD6D-44ED-A897-BC22DD3DABB5" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple Watch Series 5 - 40mm", "udid" : "DF735302-4BE3-42B7-8876-359575F3DF08" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple Watch Series 5 - 44mm", "udid" : "2B9167E6-0BED-4C99-B1C0-6A1FBA99A76F" } ], "com.apple.CoreSimulator.SimRuntime.tvOS-13-3" : [ { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple TV", "udid" : "F772DE19-9108-4007-AA01-904636E6B827" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple TV 4K", "udid" : "9E1AA747-25C5-40DC-BB04-C5D087B6CF2F" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple TV 4K (at 1080p)", "udid" : "A0089BDE-CB27-4451-8691-485954A0F535" } ], "com.apple.CoreSimulator.SimRuntime.iOS-13-3" : [ { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 8", "udid" : "F3415472-52AA-456B-B906-3A7973A4458A" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 8 Plus", "udid" : "24932D88-80C8-468B-BBC4-760461214C80" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 11", "udid" : "8D942AB2-2552-4B75-BC72-354D9854A27D" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 11 Pro", "udid" : "A691A7F9-2C56-42B5-86D6-A3C7589AA64B" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 11 Pro Max", "udid" : "683EA7EE-F833-4058-9C28-030A7092A503" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad Pro (9.7-inch)", "udid" : "F582CF4C-4EFB-4DD9-845F-9BADD1029768" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad (7th generation)", "udid" : "2020D333-5368-4AFC-81DC-2981B0F6E12D" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad Pro (11-inch)", "udid" : "DA1D6A50-9DFF-451A-BB8A-C2CE0C044EDB" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad Pro (12.9-inch) (3rd generation)", "udid" : "1FDC008E-4509-49B7-BD75-F5F75160CA86" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad Air (3rd generation)", "udid" : "50CD9699-D9D5-415D-B02D-194D0DC677B1" } ] } } [ +5 ms] { "devices" : { "com.apple.CoreSimulator.SimRuntime.watchOS-6-1" : [ { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple Watch Series 4 - 40mm", "udid" : "786F0C73-6D4C-4A99-8D30-225A6D0E7F5F" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple Watch Series 4 - 44mm", "udid" : "2DDAA1B9-BD6D-44ED-A897-BC22DD3DABB5" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple Watch Series 5 - 40mm", "udid" : "DF735302-4BE3-42B7-8876-359575F3DF08" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple Watch Series 5 - 44mm", "udid" : "2B9167E6-0BED-4C99-B1C0-6A1FBA99A76F" } ], "com.apple.CoreSimulator.SimRuntime.tvOS-13-3" : [ { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple TV", "udid" : "F772DE19-9108-4007-AA01-904636E6B827" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple TV 4K", "udid" : "9E1AA747-25C5-40DC-BB04-C5D087B6CF2F" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "Apple TV 4K (at 1080p)", "udid" : "A0089BDE-CB27-4451-8691-485954A0F535" } ], "com.apple.CoreSimulator.SimRuntime.iOS-13-3" : [ { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 8", "udid" : "F3415472-52AA-456B-B906-3A7973A4458A" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 8 Plus", "udid" : "24932D88-80C8-468B-BBC4-760461214C80" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 11", "udid" : "8D942AB2-2552-4B75-BC72-354D9854A27D" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 11 Pro", "udid" : "A691A7F9-2C56-42B5-86D6-A3C7589AA64B" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPhone 11 Pro Max", "udid" : "683EA7EE-F833-4058-9C28-030A7092A503" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad Pro (9.7-inch)", "udid" : "F582CF4C-4EFB-4DD9-845F-9BADD1029768" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad (7th generation)", "udid" : "2020D333-5368-4AFC-81DC-2981B0F6E12D" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad Pro (11-inch)", "udid" : "DA1D6A50-9DFF-451A-BB8A-C2CE0C044EDB" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad Pro (12.9-inch) (3rd generation)", "udid" : "1FDC008E-4509-49B7-BD75-F5F75160CA86" }, { "state" : "Shutdown", "isAvailable" : true, "name" : "iPad Air (3rd generation)", "udid" : "50CD9699-D9D5-415D-B02D-194D0DC677B1" } ] } } [ +70 ms] Updating assets [+1807 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466. [ +9 ms] Syncing files to device Web Server... [ +35 ms] Found plugin firebase_core at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ core-0.4.4+3/ [ +3 ms] Found plugin firebase_core_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ core_web-0.1.1+2/ [ +1 ms] Found plugin firebase_storage at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ storage-3.1.5/ [ +2 ms] Found plugin flutter_keyboard_visibility at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_k eyboard_visibility-0.7.0/ [ +14 ms] Found plugin share at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6 .3+6/ [ +2 ms] Found plugin shared_preferences at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences-0.5.6+3/ [ +1 ms] Found plugin shared_preferences_macos at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences_macos-0.0.1+6/ [ +2 ms] Found plugin shared_preferences_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences_web-0.1.2+4/ [ +11 ms] Found plugin url_launcher at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her-5.4.2/ [ +1 ms] Found plugin url_launcher_macos at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her_macos-0.0.1+4/ [ +3 ms] Found plugin url_launcher_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her_web-0.1.1+1/ [ +27 ms] Found plugin firebase_core at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ core-0.4.4+3/ [ +2 ms] Found plugin firebase_core_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ core_web-0.1.1+2/ [ +1 ms] Found plugin firebase_storage at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_ storage-3.1.5/ [ +1 ms] Found plugin flutter_keyboard_visibility at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_k eyboard_visibility-0.7.0/ [ +10 ms] Found plugin share at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6 .3+6/ [ +1 ms] Found plugin shared_preferences at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences-0.5.6+3/ [ +1 ms] Found plugin shared_preferences_macos at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences_macos-0.0.1+6/ [ +1 ms] Found plugin shared_preferences_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/shared_pr eferences_web-0.1.2+4/ [ +5 ms] Found plugin url_launcher at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her-5.4.2/ [ +1 ms] Found plugin url_launcher_macos at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her_macos-0.0.1+4/ [ +2 ms] Found plugin url_launcher_web at /Users/tanweeranwar/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/url_launc her_web-0.1.1+1/ [ +8 ms] Generating /Users/tanweeranwar/Documents/flutter/makenica-flutter/android/app/src/main/java/io/flutte r/plugins/GeneratedPluginRegistrant.java [ +692 ms] <- reset [ +9 ms] /Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/darwin-x64/fronte nd_server.dart.snapshot --sdk-root /Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill /var/folders/_s/cmhy8n4j4wd6jzx_r5_9yjth0000gn/T/flutter_tools.VVyklV/flutter_tool.PhsBr0/ app.dill --libraries-spec file:///Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/flutter_web_sdk/libraries.j son --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializ ers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-root /var/folders/_s/cmhy8n4j4wd6jzx_r5_9yjth0000gn/T/flutter_tools.VVyklV/flutter_tools.Hc0KFu --filesystem-scheme org-dartlang-app --initialize-from-dill build/cache.dill.track.dill --platform file:///Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/flutter_web_sdk/kernel/flut ter_ddc_sdk.dill [ +11 ms] <- compile org-dartlang-app:/web_entrypoint.dart [ +785 ms] [ { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad8,5", "identifier" : "1FDC008E-4509-49B7-BD75-F5F75160CA86", "architecture" : "x86_64", "modelName" : "iPad Pro (12.9-inch) (3rd generation)", "name" : "iPad Pro (12.9-inch) (3rd generation)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone12,1", "identifier" : "8D942AB2-2552-4B75-BC72-354D9854A27D", "architecture" : "x86_64", "modelName" : "iPhone 11", "name" : "iPhone 11" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone10,5", "identifier" : "24932D88-80C8-468B-BBC4-760461214C80", "architecture" : "x86_64", "modelName" : "iPhone 8 Plus", "name" : "iPhone 8 Plus" }, { "simulator" : true, "operatingSystemVersion" : "6.1.1 (17S445)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch5,3", "identifier" : "DF735302-4BE3-42B7-8876-359575F3DF08", "architecture" : "i386", "modelName" : "Apple Watch Series 5 - 40mm", "name" : "Apple Watch Series 5 - 40mm" }, { "simulator" : true, "operatingSystemVersion" : "6.1.1 (17S445)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch5,4", "identifier" : "2B9167E6-0BED-4C99-B1C0-6A1FBA99A76F", "architecture" : "i386", "modelName" : "Apple Watch Series 5 - 44mm", "name" : "Apple Watch Series 5 - 44mm" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone10,4", "identifier" : "F3415472-52AA-456B-B906-3A7973A4458A", "architecture" : "x86_64", "modelName" : "iPhone 8", "name" : "iPhone 8" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad8,1", "identifier" : "DA1D6A50-9DFF-451A-BB8A-C2CE0C044EDB", "architecture" : "x86_64", "modelName" : "iPad Pro (11-inch)", "name" : "iPad Pro (11-inch)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17K446)", "available" : true, "platform" : "com.apple.platform.appletvsimulator", "modelCode" : "AppleTV6,2", "identifier" : "A0089BDE-CB27-4451-8691-485954A0F535", "architecture" : "x86_64", "modelName" : "Apple TV 4K (at 1080p)", "name" : "Apple TV 4K (at 1080p)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17K446)", "available" : true, "platform" : "com.apple.platform.appletvsimulator", "modelCode" : "AppleTV5,3", "identifier" : "F772DE19-9108-4007-AA01-904636E6B827", "architecture" : "x86_64", "modelName" : "Apple TV", "name" : "Apple TV" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17K446)", "available" : true, "platform" : "com.apple.platform.appletvsimulator", "modelCode" : "AppleTV6,2", "identifier" : "9E1AA747-25C5-40DC-BB04-C5D087B6CF2F", "architecture" : "x86_64", "modelName" : "Apple TV 4K", "name" : "Apple TV 4K" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad7,12", "identifier" : "2020D333-5368-4AFC-81DC-2981B0F6E12D", "architecture" : "x86_64", "modelName" : "iPad (7th generation)", "name" : "iPad (7th generation)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone12,3", "identifier" : "A691A7F9-2C56-42B5-86D6-A3C7589AA64B", "architecture" : "x86_64", "modelName" : "iPhone 11 Pro", "name" : "iPhone 11 Pro" }, { "simulator" : true, "operatingSystemVersion" : "6.1.1 (17S445)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch4,4", "identifier" : "2DDAA1B9-BD6D-44ED-A897-BC22DD3DABB5", "architecture" : "i386", "modelName" : "Apple Watch Series 4 - 44mm", "name" : "Apple Watch Series 4 - 44mm" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad11,3", "identifier" : "50CD9699-D9D5-415D-B02D-194D0DC677B1", "architecture" : "x86_64", "modelName" : "iPad Air (3rd generation)", "name" : "iPad Air (3rd generation)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad6,4", "identifier" : "F582CF4C-4EFB-4DD9-845F-9BADD1029768", "architecture" : "x86_64", "modelName" : "iPad Pro (9.7-inch)", "name" : "iPad Pro (9.7-inch)" }, { "simulator" : true, "operatingSystemVersion" : "6.1.1 (17S445)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch4,3", "identifier" : "786F0C73-6D4C-4A99-8D30-225A6D0E7F5F", "architecture" : "i386", "modelName" : "Apple Watch Series 4 - 40mm", "name" : "Apple Watch Series 4 - 40mm" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone12,5", "identifier" : "683EA7EE-F833-4058-9C28-030A7092A503", "architecture" : "x86_64", "modelName" : "iPhone 11 Pro Max", "name" : "iPhone 11 Pro Max" } ] [ +8 ms] [ { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad8,5", "identifier" : "1FDC008E-4509-49B7-BD75-F5F75160CA86", "architecture" : "x86_64", "modelName" : "iPad Pro (12.9-inch) (3rd generation)", "name" : "iPad Pro (12.9-inch) (3rd generation)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone12,1", "identifier" : "8D942AB2-2552-4B75-BC72-354D9854A27D", "architecture" : "x86_64", "modelName" : "iPhone 11", "name" : "iPhone 11" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone10,5", "identifier" : "24932D88-80C8-468B-BBC4-760461214C80", "architecture" : "x86_64", "modelName" : "iPhone 8 Plus", "name" : "iPhone 8 Plus" }, { "simulator" : true, "operatingSystemVersion" : "6.1.1 (17S445)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch5,3", "identifier" : "DF735302-4BE3-42B7-8876-359575F3DF08", "architecture" : "i386", "modelName" : "Apple Watch Series 5 - 40mm", "name" : "Apple Watch Series 5 - 40mm" }, { "simulator" : true, "operatingSystemVersion" : "6.1.1 (17S445)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch5,4", "identifier" : "2B9167E6-0BED-4C99-B1C0-6A1FBA99A76F", "architecture" : "i386", "modelName" : "Apple Watch Series 5 - 44mm", "name" : "Apple Watch Series 5 - 44mm" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone10,4", "identifier" : "F3415472-52AA-456B-B906-3A7973A4458A", "architecture" : "x86_64", "modelName" : "iPhone 8", "name" : "iPhone 8" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad8,1", "identifier" : "DA1D6A50-9DFF-451A-BB8A-C2CE0C044EDB", "architecture" : "x86_64", "modelName" : "iPad Pro (11-inch)", "name" : "iPad Pro (11-inch)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17K446)", "available" : true, "platform" : "com.apple.platform.appletvsimulator", "modelCode" : "AppleTV6,2", "identifier" : "A0089BDE-CB27-4451-8691-485954A0F535", "architecture" : "x86_64", "modelName" : "Apple TV 4K (at 1080p)", "name" : "Apple TV 4K (at 1080p)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17K446)", "available" : true, "platform" : "com.apple.platform.appletvsimulator", "modelCode" : "AppleTV5,3", "identifier" : "F772DE19-9108-4007-AA01-904636E6B827", "architecture" : "x86_64", "modelName" : "Apple TV", "name" : "Apple TV" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17K446)", "available" : true, "platform" : "com.apple.platform.appletvsimulator", "modelCode" : "AppleTV6,2", "identifier" : "9E1AA747-25C5-40DC-BB04-C5D087B6CF2F", "architecture" : "x86_64", "modelName" : "Apple TV 4K", "name" : "Apple TV 4K" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad7,12", "identifier" : "2020D333-5368-4AFC-81DC-2981B0F6E12D", "architecture" : "x86_64", "modelName" : "iPad (7th generation)", "name" : "iPad (7th generation)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone12,3", "identifier" : "A691A7F9-2C56-42B5-86D6-A3C7589AA64B", "architecture" : "x86_64", "modelName" : "iPhone 11 Pro", "name" : "iPhone 11 Pro" }, { "simulator" : true, "operatingSystemVersion" : "6.1.1 (17S445)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch4,4", "identifier" : "2DDAA1B9-BD6D-44ED-A897-BC22DD3DABB5", "architecture" : "i386", "modelName" : "Apple Watch Series 4 - 44mm", "name" : "Apple Watch Series 4 - 44mm" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad11,3", "identifier" : "50CD9699-D9D5-415D-B02D-194D0DC677B1", "architecture" : "x86_64", "modelName" : "iPad Air (3rd generation)", "name" : "iPad Air (3rd generation)" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad6,4", "identifier" : "F582CF4C-4EFB-4DD9-845F-9BADD1029768", "architecture" : "x86_64", "modelName" : "iPad Pro (9.7-inch)", "name" : "iPad Pro (9.7-inch)" }, { "simulator" : true, "operatingSystemVersion" : "6.1.1 (17S445)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch4,3", "identifier" : "786F0C73-6D4C-4A99-8D30-225A6D0E7F5F", "architecture" : "i386", "modelName" : "Apple Watch Series 4 - 40mm", "name" : "Apple Watch Series 4 - 40mm" }, { "simulator" : true, "operatingSystemVersion" : "13.3 (17C45)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone12,5", "identifier" : "683EA7EE-F833-4058-9C28-030A7092A503", "architecture" : "x86_64", "modelName" : "iPhone 11 Pro Max", "name" : "iPhone 11 Pro Max" } ] [+20844 ms] Syncing files to device Web Server... (completed in 22,484ms, longer than expected) [ +1 ms] Synced 31.2MB. [ ] <- accept [ ] Caching compiled dill [ +62 ms] lib/main.dart is being served at http://localhost:58280 [ ] The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved development workflow. [ +7 ms] Warning: Flutter's support for web development is not stable yet and hasn't [ ] been thoroughly tested in production environments. [ ] For more information see https://flutter.dev/web [ +1 ms] 🔥 To hot restart changes while running, press "r" or "R".
TahaTesser commented 3 years ago

Hi @tanweer919 Please provide the complete code sample you're using in the screenshot Thank you

tanweer919 commented 3 years ago

Code sample is same as above. Code sample

Scaffold(
      resizeToAvoidBottomInset: false,
      bottomNavigationBar:
          BottomNavBar(),
      backgroundColor: Theme.of(context).primaryColor,
      body: Container(
              margin: EdgeInsets.symmetric(vertical: 35, horizontal: 20),
              decoration: BoxDecoration(
                borderRadius: BorderRadius.circular(20.0),
                color: Colors.white,
              ),
              padding: EdgeInsets.all(5.0),
              child: Column(
              mainAxisSize: MainAxisSize.min,
              crossAxisAlignment: CrossAxisAlignment.start,
              children: <Widget>[
                Center(
                    child: Text(
                  'Create Account',
                  style: TextStyle(fontSize: 30),
                )),
                Flexible(
                  child: Padding(
                    padding: const EdgeInsets.all(12.0),
                    child: Text(
                      'To get quotation and quickly scale to production. Kindly signup with us.',
                      style: TextStyle(
                          color: Color(0xff707070),
                          fontSize: 15.0,
                          fontWeight: FontWeight.w300),
                    ),
                  ),
                ),
                Form(
                  key: Signup._signupFormKey,
                  child: Column(
                    children: <Widget>[
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Name',
                            obscureText: false,
                          ),
                        ),
                      ),
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Phone no',
                            obscureText: false,
                          ),
                        ),
                      ),
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Email',
                            obscureText: false,
                          ),
                        ),
                      ),
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Password',
                            obscureText: true,
                          ),
                        ),
                      ),
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: Container(
                          child: InputElement(
                            label: 'Repeat Password',
                            obscureText: true,
                          ),
                        ),
                      ),
                      RegisterButtons(
                        onRegisterPressed: () {},
                      )
                    ],
                  ),
                ),
              ],
            ),
           ),
    );
vazkir commented 3 years ago

This seems to be related to an issue I submitted earlier.

The problem was that the inset on web always seemed to happen regardless of the resizeToAvoidBottomInset setting, but I believe this was fixed at least for iOS 13 devices but it's still an issue on earlier iOS versions. Either-way I uploaded some gifs to show what happened and some explanation in my earlier issue, so perhaps this is relevant to finding a solution to this as well:ok_hand:

TahaTesser commented 3 years ago
flutter doctor -v ``` [✓] Flutter (Channel master, 1.22.0-10.0.pre.109, on Mac OS X 10.15.6 19G2021, locale en-GB) • Flutter version 1.22.0-10.0.pre.109 at /Users/tahatesser/Code/flutter_master • Framework revision e682ec711a (3 hours ago), 2020-09-09 10:52:27 +0200 • Engine revision d1d848e842 • Dart version 2.10.0 (build 2.10.0-98.0.dev) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) • Android SDK at /Users/tahatesser/Code/sdk • Platform android-30, build-tools 30.0.2 • ANDROID_HOME = /Users/tahatesser/Code/sdk • 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 11.7) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.7, Build version 11E801a • CocoaPods version 1.9.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 49.0.2 • Dart plugin version 193.7547 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) [✓] VS Code (version 1.48.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.14.1 [✓] Connected device (3 available) • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios • iOS 13.7 • Web Server (web) • web-server • web-javascript • Flutter Tools • Chrome (web) • chrome • web-javascript • Google Chrome 85.0.4183.83 • No issues found! ```
amr-eniou-3r commented 2 years ago

I used this solution to hide the bottom navigation bar https://stackoverflow.com/questions/48750361/flutter-detect-keyboard-open-close/63241409#63241409

Alexandre2006 commented 2 years ago

Seems like this issue is still occurring to this day. Is there any available fix, since resizeToAvoidBottomInset: false does not work on the web?

maheshj01 commented 1 year ago
@tanweer919 I verified using the below code sample based on https://github.com/flutter/flutter/issues/53489#issuecomment-688919421 and I am unable to reproduce the issue neither on the web nor on Android. Does this still reproduce on your end? if it does then please share a minimal and complete code sample that we can directly run with minimal or no code changes. Android IOS
image
code sample ```dart import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({Key? key, required this.title}) : super(key: key); final String title; @override State createState() => _MyHomePageState(); } class _MyHomePageState extends State { int _counter = 0; void _incrementCounter() { setState(() { _counter++; }); } @override Widget build(BuildContext context) { return Scaffold( resizeToAvoidBottomInset: false, bottomNavigationBar: BottomNavigationBar( items: const [ BottomNavigationBarItem( icon: Icon(Icons.home), label: 'Home', ), BottomNavigationBarItem( icon: Icon(Icons.business), label: 'Business', ), BottomNavigationBarItem( icon: Icon(Icons.school), label: 'School', ), ], currentIndex: 0, selectedItemColor: Colors.amber[800], ), backgroundColor: Theme.of(context).primaryColor, body: Container( margin: const EdgeInsets.symmetric(vertical: 35, horizontal: 20), decoration: BoxDecoration( borderRadius: BorderRadius.circular(20.0), color: Colors.white, ), padding: const EdgeInsets.all(5.0), child: Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [ const Center( child: Text( 'Create Account', style: TextStyle(fontSize: 30), )), const Flexible( child: Padding( padding: EdgeInsets.all(12.0), child: Text( 'To get quotation and quickly scale to production. Kindly signup with us.', style: TextStyle( color: Color(0xff707070), fontSize: 15.0, fontWeight: FontWeight.w300), ), ), ), Form( child: Column( children: [ for (var i = 0; i < 6; i++) Padding( padding: const EdgeInsets.all(8.0), child: TextFormField( decoration: const InputDecoration( border: OutlineInputBorder(), labelText: 'Email', ), ), ), ElevatedButton( child: const Text('Sign Up'), onPressed: () {}, ) ], ), ), ], ), ), ); } } ```
flutter doctor -v (mac) ``` [✓] Flutter (Channel master, 3.7.0-13.0.pre.131, on macOS 13.1 22C65 darwin-arm64, locale en-IN) • Flutter version 3.7.0-13.0.pre.131 on channel master at /Users/mahesh/Development/flutter_master • Upstream repository https://github.com/flutter/flutter.git • Framework revision 0196e6050b (2 days ago), 2022-12-31 11:10:23 -0500 • Engine revision 932591ec04 • Dart version 3.0.0 (build 3.0.0-76.0.dev) • DevTools version 2.20.0 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades. [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4) • Android SDK at /Users/mahesh/Library/Android/sdk • Platform android-33, build-tools 33.0.0-rc4 • ANDROID_HOME = /Users/mahesh/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.0.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14A400 • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.2) • 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 11.0.12+0-b1504.28-7817840) [✓] IntelliJ IDEA Community Edition (version 2021.2.1) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 61.2.4 • Dart plugin version 212.5080.8 [✓] VS Code (version 1.74.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.56.0 [✓] Connected device (3 available) • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.1 22C65 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.124 [✓] HTTP Host Availability • All required HTTP hosts are available • No issues found! ``` ``` [✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN) • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900 • Engine revision 8f2221fbef • Dart version 2.18.5 • DevTools version 2.15.0 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4) • Android SDK at /Users/mahesh/Library/Android/sdk • Platform android-33, build-tools 33.0.0-rc4 • ANDROID_HOME = /Users/mahesh/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.0.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14A400 • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.2) • 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 11.0.12+0-b1504.28-7817840) [✓] IntelliJ IDEA Community Edition (version 2021.2.1) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 61.2.4 • Dart plugin version 212.5080.8 [✓] VS Code (version 1.70.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.53.20221101 [✓] Connected device (3 available) • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 12.6 21G115 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 107.0.5304.110 [✓] HTTP Host Availability • All required HTTP hosts are available • No issues found! ```
tanweer919 commented 1 year ago

The issue seems to have been resolved in the latest stable build.

maheshj01 commented 1 year ago

Thanks for the confirmation.

github-actions[bot] commented 1 year 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.