Skip to content

website build fails on two analyzer warnings #2184

Closed

Description

@sethladd
2 issues found; analyzed 14 source files in 22.6s.
[warning] The named parameter 'label' is not defined at example/tutorial_md_7.dart, line 481.
[warning] The named parameter 'center' is not defined at example/tutorial_md_7.dart, line 483.

From https://travis-ci.org/flutter/website/builds/111869374

Activity

  1. abarth commented on Feb 25, 2016

    @abarth
    Contributor

    @HansMuller Probably related to Han's recent list item changes.

  2. sethladd commented on Feb 25, 2016

    @sethladd
    ContributorAuthor

    cc @abarth @Hixie is the code in the tutorial old, or is the alpha branch old? (we're analyzing against the alpha branch)

    I'm pretty sure it's:

      Widget build(BuildContext context) {
        return new ListItem(
          onTap: () => onCartChanged(product, !inCart),
          left: new CircleAvatar(
            backgroundColor: _getColor(context),
            label: product.name[0]
          ),
          center: new Text(product.name, style: _getTextStyle(context))
        );
      }
    

    from "Bringing it all together"

    Thanks!

  3. self-assigned this
    on Feb 25, 2016
  4. github-actions commented on Sep 6, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions