Search packages, repositories and app categories

Package detailsv1.8.1

cached

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
4.4K
Likes
92
Pub points
130

Install package

flutter pub add cached

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The cached package is a Dart library that provides built-in code generation to simplify and accelerate the creation of caching mechanisms for Dart classes. It enables developers to effortlessly define cacheable models with minimal boilerplate, improving performance by reducing redundant data processing. With support across all major platforms—Android, iOS, Web, macOS, Windows, and Linux—it integrates seamlessly into Flutter and Dart projects. The package leverages code generation to produce efficient, type-safe cache implementations, making it ideal for managing temporary data like API responses or user preferences.

Use cases

  • Caching API responses
  • Storing user preferences
  • Optimizing repeated data access
  • Managing local state in Flutter apps
  • Reducing network calls
  • Improving app performance

Key features

  • Built-in code generation
  • Type-safe cache implementation
  • Cross-platform support
  • Minimal boilerplate
  • Efficient data retrieval
  • Easy integration with Flutter

Suitable for

  • Flutter developers
  • Apps requiring local data caching
  • Projects with frequent API interactions
  • Teams prioritizing development speed
  • Applications needing performance optimization

Considerations

  • Requires code generation setup
  • Limited to Dart/Flutter projects
  • Depends on build_runner
  • May increase initial build time
  • Not suitable for large-scale persistent storage

Categories

Dependencies

Dependency list 7 items

Source repository

Projects using this package

No data available yet.