Search code examples
flutterdartdart-null-safetyflutter2.0

Alternative of package PathProviderEx in flutter


Tried every thing, when trying to access the root directory of the app it throws this exceptions.

Is there any way to get the root of device on flutter2 with null safety ?


Solution

  • I found it, use this package https://pub.dev/packages/external_path to get root Directory of the device.