resizeToAvoidBottomPadding: false,

901 views
Skip to first unread message

Bened

unread,
Feb 27, 2019, 5:20:11 AM2/27/19
to Flutter Dev
resizeToAvoidBottomPadding: false works but it is said to be deprecated:
bool resizeToAvoidBottomPadding
@Deprecated('Use resizeToAvoidBottomInset to specify if the body should resize when the keyboard appears'), final

unfortunatly when using resizeToAvoidBottomInset: false;  it is said 'the named parameter is not defined.

So, how to deal with that?
yours,
Thanks in advance.

Hans Muller

unread,
Feb 27, 2019, 12:02:15 PM2/27/19
to Bened, Flutter Dev
It looks like the version of Flutter you're using is old than the documentation you're reading. The resizeToAvoidBottomPadding deprecation was added on 1/8/2019 - https://github.com/flutter/flutter/pull/26259

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bened

unread,
Mar 1, 2019, 9:00:04 AM3/1/19
to Flutter Dev
thanks @hansmuller, indeed  my Framework revision was d48e6e433c (3 months ago), 2018-11-20 22:05:23 -0500
now with the Framework revision 8661d8aecd (2 weeks ago), 2019-02-14 19:19:53 -0800 both 
resizeToAvoidBottomInset: false, and resizeToAvoidBottomPadding: false, works
Reply all
Reply to author
Forward
0 new messages