Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Removed resizeToAvoidBottomPadding parameter#28

Open
gebes wants to merge 1 commit into
fluttercommunity:masterfrom
gebes:master
Open

Removed resizeToAvoidBottomPadding parameter#28
gebes wants to merge 1 commit into
fluttercommunity:masterfrom
gebes:master

Conversation

@gebes

@gebes gebes commented Feb 4, 2021

Copy link
Copy Markdown

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

Fonzeca commented Feb 18, 2021

Copy link
Copy Markdown

Yeah, i need that

@gebes

gebes commented Feb 19, 2021

Copy link
Copy Markdown
Author

@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
Copy Markdown

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants