unit_tree_data_structure 1.0.1 unit_tree_data_structure: ^1.0.1 copied to clipboard
The tree data structure that supports unit_tree_flutter packages
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add unit_tree_data_structure
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
unit_tree_data_structure: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:unit_tree_data_structure/unit_tree_data_structure.dart';