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

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.7

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
20
pub points
0%
popularity

Publisher

unverified uploader

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

Homepage

License

BSD-2-Clause (LICENSE)

Dependencies

command, meta

More

Packages that depend on commandlist