mmkv_flutter_cache 0.0.4

Flutter Android iOS

A cache for Flutter project implement it with mmkv framework.

mmkv_flutter_cache #

pub package

A cache for Flutter project implement it with mmkv framework. and support expires

Getting Started #

dependencies:
  mmkv_flutter_cache: ^0.0.4

Usage #

import 'package:mmkv_flutter_cache/mmkv_flutter_cache.dart';

/// add value to cache will expired in 1 hour
final boolRes = await Cache.add('key', 'value', expired: 1  );

/// get value from cache
final value = await Cache.get('key');

0
likes
80
pub points
0%
popularity

A cache for Flutter project implement it with mmkv framework.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

sqibang@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, mmkv_flutter

More

Packages that depend on mmkv_flutter_cache