Memory Cache is simple, fast and global in-memory cache with CRUD features.

Overview

Memory Cache

Memory Cache is simple, fast and global in-memory cache.

Features

  • Create, read, update, delete and invalidate cache.
  • Expirable Cache

Getting started

Use this package as a Library


Depend On it

Run this command

with Dart:

$ dart pub add memory_cache

with Flutter:

$ flutter pub add memory_cache

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get or flutter pub get):

dependencies:
  memory_cache: ^1.1.0

Usage

Create New Value

MemoryCache.instance.create('myKey', 'myValue');

with Expiry:

MemoryCache.instance.create(
    'myKey',
    'myValue',
    expiry: const Duration(seconds: 5),
  );

Read Value

final myValue = MemoryCache.instance.read<String>('myKey');

Update Value

MemoryCache.instance.update('myKey', 'myUpdatedValue');

Delete Value

MemoryCache.instance.delete('myKey');
You might also like...

flutter_thrio makes it easy and fast to add flutter to existing mobile applications, and provide a simple and consistent navigator APIs.

flutter_thrio makes it easy and fast to add flutter to existing mobile applications, and provide a simple and consistent navigator APIs.

本仓库不再维护,可移步新仓库 https://github.com/flutter-thrio/flutter_thrio 中文文档 问题集 QQ 群号码:1014085473 The Navigator for iOS, Android, Flutter. Version 0.2.2 requir

Dec 5, 2022

Simple Dart package with build-in code generation. It simplifies and speedup creation of cache mechanism for dart classes.

Simple Dart package with build-in code generation. It simplifies and speedup creation of cache mechanism for dart classes.

Simple Dart package with build-in code generation. It simplifies and speedup creation of cache mechanism for dart classes.

Jan 2, 2023

Rest Api Crud funtion . Created, Update, Delete , Read

flutter_application_10 A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you s

Nov 30, 2022

A template for flutter projects with CRUD

A template for flutter projects with CRUD

Flutter boilerplate Flutter Boilerplate Project Fork this project then start you

Nov 24, 2022

Hive CRUD App For Flutter

Hive CRUD App For Flutter

flutter_hive_crud_app A new Flutter project. Getting Started This project is a s

Oct 19, 2022

Dersler ve notları olan bir sistemde ortalama hesaplama ve CRUD operasyonları

note_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Dec 29, 2021

Crud operation with Firebase

Crud operation with Firebase

stuff CRUD operation with firebase. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Dec 23, 2022

Flutter App - Add Firebase Crud Operation can Create Delete Update Read real time data

Flutter App - Add Firebase Crud Operation can Create Delete Update Read real time data

Firebase-Crud-Operation In This Flutter App I Will Add Firebase Crud Operation like you can Create Delete Update Read real time data. Sample Images Re

Nov 7, 2022

In this video we will learn how to Create CRUD Rest API for our Flutter application using NODEJS API.

In this video we will learn how to Create CRUD Rest API for our Flutter application using NODEJS API.

Flutter CRUD Using NodeJS API In this video we will learn how to Create CRUD Rest API for our Flutter application using NODEJS API. 📎 Packages Used h

Dec 30, 2022
Releases(1.1.0)
Owner
Gökberk Bardakçı
An engineer who is in love with science and learning new things. A responsible person. Principle “ if you are doing something do it right”.
Gökberk Bardakçı
A shopper Flutter app that use BloC pattern and CRUD operations with different ways(memory/sqlite/http)

The project is maintained by a non-profit organisation, along with an amazing collections of Flutter samples. We're trying to make continuous commits

Flutter Samples 80 Nov 10, 2022
A most easily usable cache management library in Dart. With CacheStorage, you can easily manage cache on your application.

A most easily usable cache management library in Dart! 1. About 1.1. Introduction 1.1.1. Install Library 1.1.2. Import It 1.1.3. Use CacheStorage 1.2.

Kato Shinya 1 Dec 13, 2021
⚡ Cache Manager A tidy utility to handle cache of your flutter app like a Boss.

⚡ Cache Manager A tidy utility to handle cache of your flutter app like a Boss. It provides support for both iOS and Android platforms (offcourse). ??

Abhishek Chavhan 10 Oct 25, 2022
Flutter_load_widget - Global Flutter loading widget

load Global loading widget, which can be used through simple configuration. Pure flutter library, not use native code. It is similar to OKToast in use

Caijinglong 35 Nov 4, 2022
Icarus - Local Action, Global Impact

Icarus Local Action, Global Impact Download · Report Bug · Request Feature Table of Contents About The Project About Icarus Todo Technologies Getting

Yunus Emre Alpu 9 Oct 26, 2022
A decentralized Global Platform for Dating.

GoDatingFi Mobile Made with ?? in GoDatingFi.com A decentralized Global Platform for Dating. We are a team of SocialFi blockchain in ASIA, We bring ex

GoDatingFi.com 4 Jul 27, 2022
A Flutter application that demonstrate simple CRUD operations with Firebase cloud database.

Cricket Team A Flutter application that demonstrate simple CRUD operations with Firebase cloud database. Preview Home Empty Swipe Add Player Update Pl

Bhavik Makwana 45 Jun 19, 2021
Implementing simple storage operations, CRUD (Create, Read, Update, Delete), using Firebase Firestore

CRUD Firebase Implementing simple storage operations, CRUD (Create, Read, Update

Luciano Martins 6 Oct 29, 2022
Flutter implementation for ExotikArch via a simple todos CRUD application.

ExotikArch - Flutter setState on steriods ⚡ ExotikArch for Flutter. Deliver production apps fast with flutter. Global State Management Navigation Serv

null 0 Jun 2, 2022
flutter_thrio makes it easy and fast to add flutter to existing mobile applications, and provide a simple and consistent navigator APIs.

中文文档 英文文档 问题集 原仓库不再维护,代码已经很老了 最近版本更新会很快,主要是增加新特性,涉及到混合栈的稳定性的问题应该不多,可放心升级,发现问题加 QQ 群号码:1014085473,我会尽快解决。 不打算好好看看源码的使用者可以放弃这个库了,因为很多设定是比较死的,而我本人不打算花时间写

null 290 Dec 29, 2022