path_provider may be problem

Custom Code

I tried to add path_provider 2.1.4 but flutterflow says we automatically added 2.1.3 version so you should remove dependency.

But the problem seems that the code stucks when it needs to use getTemporaryDirectory as output directory of pdf file created.

Error:

The function 'getTemporaryDirectory' isn't defined.

Try importing the library that defines 'getTemporaryDirectory', correcting the name to the name of an existing function, or defining a function named 'getTemporaryDirectory'.dartundefined_function

What have you tried so far?

tried adding and removing path_provider

Did you check FlutterFlow's Documentation for this topic?
No
2