Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No named parameter with the name 'resizeToAvoidBottomPadding'. #2

Open
prakash-indorkar opened this issue Feb 21, 2021 · 2 comments
Open

Comments

@prakash-indorkar
Copy link

prakash-indorkar commented Feb 21, 2021

I'm getting this error. It could be because of Null safety. ( May I know if there is any plan to have nullsafe version release for this package? as it I'm using your package in my whole project.) Please suggest.

/C:/Users/praka/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/get_async_page-0.1.0/lib/src/ui/get_stream_page.dart:321:9: Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
resizeToAvoidBottomPadding: widget.resizeToAvoidBottomPadding,
^^^^^^^^^^^^^^^^^^^^^^^^^^

my pubspec.yaml
environment:
sdk: ">=2.12.0-0 <3.0.0"

dependencies:
flutter:
sdk: flutter
auto_size_text: ^2.1.0
cached_network_image: ^2.5.0
carousel_slider: ^2.3.1
cloud_firestore: ^0.16.0
cloud_functions: ^0.9.0
cupertino_icons: ^1.0.0
firebase_auth: ^0.20.0
firebase_core: ^0.7.0
firebase_storage: ^7.0.0
flutter_animator_widgets: ^1.0.1
flutter_form_builder: ^4.2.0
flutter_staggered_grid_view: ^0.4.0-nullsafety.2
flutter_svg: ^0.20.0-nullsafety.3
form_builder_image_picker: ^0.1.2
get: ^3.24.0
get_async_page: ^0.1.0
get_storage: ^1.4.0
google_sign_in: ^4.5.9
path_provider: ^1.6.24
search_app_bar_page: ^1.4.2
stripe_payment: ^1.0.9

@prakash-indorkar
Copy link
Author

Looking like the solution is to change

resizeToAvoidBottomPadding: true, //deprecated

with

resizeToAvoidBottomInset: true,

https://stackoverflow.com/questions/55369388/resizetoavoidbottompadding-not-working-keyboard-hides-textform
Could it be possible to make this change, please? My build it stuck because of this.

@MarceloRab
Copy link
Owner

Vide - #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants