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

Errors in example on Linux run #29

@digit81

Description

@digit81

I cannot run example under Linux (Linux Mint 19.3 Cinnamon - based on Ubuntu 18.04).
After flutter pub get and flutter run I get:

Launching lib/main.dart on Linux in debug mode...
Exception: No Linux desktop project configured. See https://flutter.dev/desktop#add-desktop-support-to-an-existing-app to learn about adding Linux support to a project.

After flutter create . and flutter run I get:

Launching lib/main.dart on Linux in debug mode...
ERROR: ../lib/templates/list/responsive_list.dart:217:11: Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
ERROR:           resizeToAvoidBottomPadding: resizeToAvoidBottomPadding,
ERROR:           ^^^^^^^^^^^^^^^^^^^^^^^^^^                             
ERROR: ../../../../development/flutter/packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this candidate, but the arguments don't match.
ERROR:   const Scaffold({                                               
ERROR:         ^^^^^^^^                                                 
ERROR: ../lib/templates/list/views/tablet.dart:188:15: Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
ERROR:               resizeToAvoidBottomPadding: widget?.resizeToAvoidBottomPadding,
ERROR:               ^^^^^^^^^^^^^^^^^^^^^^^^^^                         
ERROR: ../../../../development/flutter/packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this candidate, but the arguments don't match.
ERROR:   const Scaffold({                                               
ERROR:         ^^^^^^^^                                                 
Building Linux application...                                           
Exception: Build process failed

flutter doctor

[✓] Flutter (Channel dev, 1.26.0-17.2.pre, on Linux, locale pl_PL.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio
[✓] VS Code (version 1.53.0)
[✓] Connected device (2 available)

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions