Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

shriharip/dtstorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tstorage

A flutter package for simple storage of key value data. The data is exposed using a stream provider and also exposes few details like the file that is stored.

Uses native dart file io system for faster access.

Getting Started

depend on the package using the package name tstorage in the pubspec.yaml file

create an instance like Storage() optionally you can pass the file path as Storage(fpath: 'db.txt').

read values as Storage.read( 'key', defaultValue: 0);

write values as Storage.write( 'key', data);

look at example folder for an example implementation

About

A flutter file storage for storing key value pairs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published