font_awesome_flutter icon indicating copy to clipboard operation
font_awesome_flutter copied to clipboard

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

Open dhust opened this issue 4 years ago • 0 comments

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?

dhust avatar Mar 06 '22 22:03 dhust