You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey I'd like to know If there is a way to access directly from my flutter app a file inside the file system. In fact I am creating a Embedded app to control a 3D Printer using Http request but the wifi settings are editable only using the ssh because it is in the file system at /boot/octopi-wpa-supplicant.txt. So there is a native Dart code to do it or a compatible plug (maybe like PATH_PROVIDER) to do it ?
The text was updated successfully, but these errors were encountered:
SOLUTION: Use directly dart command. For example I need to access this path /boot/octopi-wpa-supplicant.txt, I pass it as parameter for the directory root. File('/boot/octopi-wpa-supplicant.txt') .readAsString() .then((String contents) { setState(() { dir = contents; }); });
Hey I'd like to know If there is a way to access directly from my flutter app a file inside the file system. In fact I am creating a Embedded app to control a 3D Printer using Http request but the wifi settings are editable only using the ssh because it is in the file system at
/boot/octopi-wpa-supplicant.txt
. So there is a native Dart code to do it or a compatible plug (maybe like PATH_PROVIDER) to do it ?The text was updated successfully, but these errors were encountered: