Skip to content

Can't be assigned to the parameter type 'Icon' #204

Description

@dhust

I'm trying to use font_awesome_flutter: ^9.2.0 along with icon: const FaIcon(FontAwesomeIcons.gamepad) but I get the error The argument type 'FaIcon' can't be assigned to the parameter type 'Icon'. I'm using it with HawkFabMenuItem which has an attribute of {required Icon icon} so it seems to be like most icon attributes, but it gives me an error. Thoughts on why?

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