responsive_scaffold icon indicating copy to clipboard operation
responsive_scaffold copied to clipboard

Removed resizeToAvoidBottomPadding parameter

Open gebes opened this issue 4 years ago • 3 comments

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.

gebes avatar Feb 04 '21 12:02 gebes

Yeah, i need that

Fonzeca avatar Feb 18 '21 21:02 Fonzeca

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

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

in your pubspec.yaml

gebes avatar Feb 19 '21 06:02 gebes

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

taeilyoon avatar Mar 08 '21 00:03 taeilyoon