Skip to content
pubscout

cooky

2.0.0, released 5 years ago by an unverified publisher

An HTTP Cookies implementation for the client to get, set and remove cookies.

$ flutter pub add cooky

What it does

Provides a client-side HTTP cookies implementation allowing developers to get, set, and remove cookies easily. It includes null safety support and is simple to use.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to manage HTTP cookies on the client side
  • You want a simple and well-tested cookie implementation

Skip it when

  • You require a full networking client with built-in cookie management like Dio

Strengths

  • Simple and well tested
  • Supports null safety
  • No external dependencies

Weaknesses

  • Very limited scope focusing only on cookie management
  • Minimal documentation beyond basic usage

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0

not documented

import 'package:cooky/cooky.dart' as cookie;

setCookie() async {
  cookie.set('key', 'value');
}

Alternatives

Packages that do the same job and could replace cooky.

  • http

    A comprehensive HTTP client package that may handle your overall networking needs.

  • dio

    A powerful HTTP client for Dart, which includes interceptors and cookie management support.