Skip to content

Ali1Ammar/db_path_flutter

Repository files navigation

dbpath

get database path getDataBasePath()

Getting Started

this package has only one function getDataBasePath() to get database path for android , as path_provider doesn't have it

for ios : there is no database path for ios you should use getApplicationDocumentsDirectory() from path_provider package

somethinge like this

Future<String> getDBPath() async => Platform.isAndroid
    ? (await getDataBasePath())!
    : (await getApplicationDocumentsDirectory()).path;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published