GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - devs-flutter-plugin/get_storage: A fast, extra light and synchronous key-value storage to Get framework

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

134 Commits
134 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
example
example
 
 
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
analysis_options.yaml
analysis_options.yaml
 
 
delete.png
delete.png
 
 
pubspec.lock
pubspec.lock
 
 
pubspec.yaml
pubspec.yaml
 
 
read.png
read.png
 
 
write.png
write.png
 
 

Repository files navigation

get_storage

A fast, lightweight key-value storage for Flutter, maintained by Devs Tecnologia from the original GetStorage project.

Compatibility

  • Flutter 3.47.2+
  • Dart 3.13+
  • Android
  • iOS
  • macOS
  • Windows
  • Linux
  • Flutter Web (JavaScript)
  • Flutter Web (WebAssembly / Wasm)

Native platforms persist data using files in the application documents directory. Web platforms use window.localStorage through package:web, without dart:html.

This fork uses the organization-maintained GetX package from devs-flutter-plugin/getx pinned to tag v4.7.4.

Usage

import 'package:get_storage/get_storage.dart';

Future<void> main() async {
  await GetStorage.init();

  final box = GetStorage();

  await box.write('name', 'Lucas');
  final name = box.read<String>('name');

  await box.remove('name');
  await box.erase();
}

In-memory batching

final box = GetStorage();

box.writeInMemory('one', 1);
box.writeInMemory('two', 2);
await box.save();

ReadWriteValue

final box = GetStorage();
final counter = 0.val('counter', getBox: () => box);

counter.val = 10;
await box.save();

WebAssembly

The web backend uses package:web and is selected with dart.library.js_interop, so applications can be compiled with:

flutter build web --wasm

Repository

https://github.com/devs-flutter-plugin/get_storage

License

MIT. The original license and attribution are preserved in LICENSE.

About

A fast, extra light and synchronous key-value storage to Get framework

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.