How to use custom icons or assets in a custom widget?

Custom Code

I want to use a custom icon in a custom widget but I am having trouble calling it.

What have you tried so far?

I'm trying to use this

import '/flutter_flow/custom_icons.dart';

FFIcons.khitGoal

I can save the code and it comes up with that warning about compiling but I run my app in test mode the iconis there, happy days.
When I compile the widget it then gives an error saying the import isn't valid and neither is FFIcons.
I then tried to change them to png and load them as assets. I run into a similar problem of I've no idea how to call them, it will compile but then where the icon should be it throws an error saying url doesn't exist.

Is it possible to do what I want? I'm currently on the free plan, so I can't go routing in the code for where they are

Did you check FlutterFlow's Documentation for this topic?
Yes
1