Search packages, repositories and app categories

Package detailsv1.6.0

undo

A Undo/Redo Library for Flutter

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1.1K
Likes
85
Pub points
140

Install package

flutter pub add undo

Package Overview

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

The undo package provides a lightweight, Flutter-compatible undo/redo functionality for managing state changes in applications. It enables developers to track and revert user actions efficiently, making it ideal for rich text editors, form inputs, and interactive UIs where reversible edits are essential. The library is designed with simplicity and performance in mind, supporting all major platforms including mobile, web, and desktop. It integrates seamlessly into existing Flutter projects with minimal setup.

Use cases

  • Rich text editing
  • Form input management
  • Interactive drawing tools
  • Real-time collaborative editing
  • Game state rollback

Key features

  • Simple API for tracking state changes
  • Cross-platform support
  • Lightweight and efficient
  • Supports nested undo groups
  • Easy integration with Flutter widgets

Suitable for

  • Developers building editable content interfaces
  • Apps requiring reversible user actions
  • Editors with complex state management
  • Multi-platform applications

Considerations

  • Requires manual state snapshotting
  • Not suitable for very large state objects
  • May need custom serialization for complex data
  • Limited to single undo stack per instance

Categories

Projects using this package