shiburagi / Drawer-Behavior-Flutter

Drawer behavior is a library that provide an extra behavior on drawer, such as, move view or scaling view's height while drawer on slide.
MIT License
209 stars 36 forks source link

Error: No named parameter with the name 'resizeToAvoidBottomPadding' in latest flutter beta version #36

Closed vb-star closed 3 years ago

vb-star commented 3 years ago

[+3056 ms] ../../../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/drawerbehavior-1.2.2/lib/drawer_scaffold.dart:276:7: Error: No named parameter with the name 'resizeToAvoidBottomPadding'. [ ] resizeToAvoidBottomPadding: widget.resizeToAvoidBottomPadding,

Details of flutter and SDK: Flutter is already up to date on channel beta Flutter 1.26.0-17.5.pre • channel beta • https://github.com/flutter/flutter.git Framework • revision 1fe38dcb5f (5 days ago) • 2021-02-10 16:25:47 -0800 Engine • revision d4453f6018 Tools • Dart 2.12.0 (build 2.12.0-259.9.beta)

reference for latest drawerbehavior https://pub.dev/packages/drawerbehavior/install

please fixed asap.

vb-star commented 3 years ago

I think flutter can discontinue "resizeToAvoidBottomPadding" in the latest version. please change it with "resizeToAvoidBottomInset" or remove it.

shiburagi commented 3 years ago

if your flutter using beta channel with null-safety, please use following version:

drawerbehavior: ^2.0.0