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

Removed resizeToAvoidBottomPadding parameter #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gebes
Copy link

@gebes gebes commented Feb 4, 2021

The resizeToAvoidBottomPadding parameter is deprecated and was now removed, as stated in the docs.

This prevents to compile this plugin with newer Flutter versions on the master channel.

Launching lib\main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/responsive_scaffold-1.3.0+2/lib/templates/list/responsive_list.dart:217:11: Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
          resizeToAvoidBottomPadding: resizeToAvoidBottomPadding,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/material/scaffold.dart:1449:9: Context: Found this candidate, but the arguments don't match.
  const Scaffold({
        ^^^^^^^^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/responsive_scaffold-1.3.0+2/lib/templates/list/views/tablet.dart:188:15: Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
              resizeToAvoidBottomPadding: widget?.resizeToAvoidBottomPadding,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/material/scaffold.dart:1449:9: Context: Found this candidate, but the arguments don't match.
  const Scaffold({
        ^^^^^^^^
Failed to compile application.

@Fonzeca
Copy link

Fonzeca commented Feb 18, 2021

Yeah, i need that

@gebes
Copy link
Author

gebes commented Feb 19, 2021

@Fonzeca if you need it now, you can just use

  responsive_scaffold:
    git: https://github.com/Gebes/responsive_scaffold.git

in your pubspec.yaml

@taeilyoon
Copy link

Now It prevents to compile this plugin with newer Flutter versions on the Dev channel.

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

Successfully merging this pull request may close these issues.

3 participants