double_linked_list 1.0.4
double_linked_list: ^1.0.4 copied to clipboard
A Generic Double Linked List data structure. Allows constant time inserting at elements at both ends, before and after any element and constant time element deletion.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add double_linked_list
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
double_linked_list: ^1.0.4
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:double_linked_list/double_linked_list.dart';