Last updated:
0 purchases
shared prefs cookie store
shared_prefs_cookie_store #
A Flutter shared preferences plugin for managing HTTP cookies. This plugin provides a straightforward approach to managing cookies in Flutter applications using SharedPreferences as a storage medium while ensuring cookie persistence.
📋 Features #
🕹 Simple and easy-to-use API
💽 Uses SharedPreferences for persistent storage
⌛ Supports asynchronous initialization
🌐 Integrates seamlessly with the Dio networking library.
🖥 Installation #
Use this package as a library
Run this command:
With Dart:
$ dart pub add shared_prefs_cookie_store
copied to clipboard
With Flutter:
$ flutter pub add shared_prefs_cookie_store
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
shared_prefs_cookie_store: ^latest_version
copied to clipboard
Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:shared_prefs_cookie_store/shared_prefs_cookie_store.dart';
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.