commandlist 0.0.1 copy "commandlist: ^0.0.1" to clipboard
commandlist: ^0.0.1 copied to clipboard

outdatedDart 1 only

An index-accessible list that provides insert, remove, and move capabilities using Commands

commandlist #

CommandList provides an index-accessible Iterable that adds, removes, and moves items using Command objects. This design allows for easy undo and redo capabilities.

How do I get set up? #

To add the published version of this package to your project, create a dependency for commandlist in your pubspec.yaml file:

dependencies:
  commandlist: ^0.0.1

The most recent development version is available on BitBucket. You can access it with the following git dependency:

commandlist:
  git:
    url: https://bitbucket.org/porcupinesupernova/dart_packages.git
    path: commandlist

A simple usage example:

import 'package:commandlist\commandlist.dart';

main(){
  var list = new CommandList<String>();
  var command = list.insert("Hello world");
  command.undo();
}

Submitting issues #

Submit issues in the issue tracker

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

An index-accessible list that provides insert, remove, and move capabilities using Commands

Homepage

License

unknown (LICENSE)

Dependencies

command

More

Packages that depend on commandlist