How to set Custom Fonts in CustomAction

Custom Code

We are currently creating a CustomAction to create a PDF. I would like to specify Fonts in the CustomAction, but I don't know how to specify CustomFonts from the CustomAction side.

What have you tried so far?

I tried to get it by specifying the path as follows, but could not do it.(likes image.)

final fontUrl = 'assets/fonts/ZenKakuGothicNew-Black.ttf';

Did you check FlutterFlow's Documentation for this topic?
Yes
2
3 replies