Skip to content

Conflicting 'Image' declaration #77

Open
@g7i

Description

@g7i

Whenever I import faker, Image from flutter stops working with an error. Consider an alternative name for your implementation?

The name 'Image' is defined in the libraries 'package:faker/ src/ image. dart (via package:faker/ faker. dart)' and 'package:flutter/ src/ widgets/ image. dart'. (Documentation) 

Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions