Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

[SOLVED] Error: “Bottom Overflowed” error caused by the keyboard.

When Keyboard Appears, then you receive an error: “Bottom overflowed by 67 pixels”. In technical terms, the size of the viewport was reduced and it caused an overflow in our layout. See the image below :-

A quick solution would be to block the widgets inside the Scaffold to resize themselves when the keyboard opens but this way, some widgets can be obscured by the keyboard. We can do this using the resizeToAvoidBottomInset property on the Scaffold widget.

Another solution is to wrap the Column widget into a scrollable widget. A built-in widget provided by Flutter which works well is the SingleChildScrollView . This is the best solution to avoid the “Bottom overflowed error when the keyboard opens.

If it’s not Working then Follow the Below Steps :-

Method 1: Remove android:windowSoftInputMode="adjustResize" from AndroidManifest.xml file (Otherwise it will override flutter code) and add resizeToAvoidBottomPadding: false in Scaffold like below:

Scaffold(
      resizeToAvoidBottomPadding: false,
      appBar: AppBar()
)Code language: JavaScript (javascript)

Method 2 (Not Recommended) : Just Add android:windowSoftInputMode="stateVisible" in android AndroidManifest.xml in activity it will only work for Android an Not for IOS like.

<activity
       ...
        android:windowSoftInputMode="stateVisible">
Code language: HTML, XML (xml)

Note: Don’t set it to android:windowSoftInputMode="adjustResize"

Thanks for reading.

Keep Coding.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
With MotoShare.in, you can book a bike instantly, enjoy doorstep delivery, and ride without worries. Perfect for travelers, professionals, and adventure enthusiasts looking for a seamless mobility solution.

Related Posts

What is Flutter and use cases of Flutter?

What is Flutter? Flutter is an open-source UI software development toolkit developed by Google. It is applied for building natively compiled applications for mobile, web, and desktop…

Read More

[Solved] Flutter : Error: The getter ‘subhead’ isn’t defined for the class ‘TextTheme’ from package:flutter/src/material/text_theme.dart’ – searchable_dropdown

ERROR SOLUTION There are Two Solutions for this error Use Alternative Package Do some changes in .pub-cache Use Alternative Package I switched from searchable_dropdown to search_choices and…

Read More

[SOLVED] Flutter Error: The getter ‘body1’ isn’t defined for the class ‘TextTheme’ – place_picker.

Error SOLUTION Here is what I found on StackOverflow Source (Stackoverflow):- https://stackoverflow.com/questions/69312392/how-to-resolve-error-the-getter-body1-isnt-defined-for-the-class-texttheme To fix this issue you have to make some changes to Two files C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/place_picker-0.9.19-nullsafety/lib/widgets/rich_suggestion.dart 2….

Read More

Flutter : Open for editing in android studio not showing.

Problem Solution This is more of a git issue. When you committed your PR is the iml file in your repository? After you cloned the project did…

Read More

[SOLVED] Flutter: Not showing “Open for editing in Android Studio”

The problem is caused by missing .iml project files. These files are added automatically to the .gitignore file but they should not. To fix it: Delete .idea folder. Create a new temporary Flutter…

Read More